org.elasticsearch.index.query
Interface FilterParser

All Known Implementing Classes:
AndFilterParser, BoolFilterParser, ExistsFilterParser, FQueryFilterParser, GeoBoundingBoxFilterParser, GeoDistanceFilterParser, GeoDistanceRangeFilterParser, GeoPolygonFilterParser, HasChildFilterParser, IdsFilterParser, LimitFilterParser, MatchAllFilterParser, MissingFilterParser, NestedFilterParser, NotFilterParser, NumericRangeFilterParser, OrFilterParser, PrefixFilterParser, QueryFilterParser, RangeFilterParser, ScriptFilterParser, TermFilterParser, TermsFilterParser, TypeFilterParser

public interface FilterParser


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.
 

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