org.elasticsearch.index.query
Interface FilterParser

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

public interface FilterParser


Method Summary
 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

String[] names()
The names this filter is registered under.


parse

@Nullable
org.apache.lucene.search.Filter parse(QueryParseContext parseContext)
                                      throws 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:
IOException
QueryParsingException


Copyright © 2009-2012. All Rights Reserved.