org.elasticsearch.index.query.xcontent
Interface XContentFilterParser
- All Superinterfaces:
- IndexComponent
- All Known Implementing Classes:
- BoolFilterParser, PrefixFilterParser, QueryFilterParser, RangeFilterParser, TermFilterParser, TermsFilterParser
public interface XContentFilterParser
- extends IndexComponent
Method Summary |
java.lang.String[] |
names()
The names this filter is registered under. |
org.apache.lucene.search.Filter |
parse(QueryParseContext parseContext)
Parses the into a filter from the current parser location. |
names
java.lang.String[] names()
- The names this filter is registered under.
parse
org.apache.lucene.search.Filter parse(QueryParseContext parseContext)
throws java.io.IOException,
QueryParsingException
- Parses the into a filter from the current parser location. Will be at "START_OBJECT" location,
and should end when the token is at the matching "END_OBJECT".
- Throws:
java.io.IOException
QueryParsingException