org.elasticsearch.index.query.xcontent
Interface XContentFilterParser

All Superinterfaces:
IndexComponent
All Known Implementing Classes:
AndFilterParser, BoolFilterParser, ExistsFilterParser, FQueryFilterParser, GeoBoundingBoxFilterParser, GeoDistanceFilterParser, GeoPolygonFilterParser, MatchAllFilterParser, MissingFilterParser, NotFilterParser, NumericRangeFilterParser, OrFilterParser, PrefixFilterParser, QueryFilterParser, RangeFilterParser, ScriptFilterParser, 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.
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 

Method Detail

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