org.elasticsearch.index.query.json
Interface JsonFilterParser

All Superinterfaces:
IndexComponent
All Known Implementing Classes:
BoolJsonFilterParser, PrefixJsonFilterParser, QueryJsonFilterParser, RangeJsonFilterParser, TermJsonFilterParser, TermsJsonFilterParser

public interface JsonFilterParser
extends IndexComponent


Method Summary
 java.lang.String[] names()
           
 org.apache.lucene.search.Filter parse(JsonQueryParseContext parseContext)
          Parses the into a filter from the current json parser location.
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 

Method Detail

names

java.lang.String[] names()

parse

org.apache.lucene.search.Filter parse(JsonQueryParseContext parseContext)
                                      throws java.io.IOException,
                                             QueryParsingException
Parses the into a filter from the current json 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