org.elasticsearch.index.query.xcontent
Interface XContentQueryParser

All Superinterfaces:
IndexComponent
All Known Implementing Classes:
BoolQueryParser, ConstantScoreQueryParser, CustomBoostFactorQueryParser, CustomScoreQueryParser, DisMaxQueryParser, FieldMaskingSpanQueryParser, FieldQueryParser, FilteredQueryParser, FuzzyLikeThisFieldQueryParser, FuzzyLikeThisQueryParser, FuzzyQueryParser, MatchAllQueryParser, MoreLikeThisFieldQueryParser, MoreLikeThisQueryParser, PrefixQueryParser, QueryStringQueryParser, RangeQueryParser, SpanFirstQueryParser, SpanNearQueryParser, SpanNotQueryParser, SpanOrQueryParser, SpanTermQueryParser, TermQueryParser, WildcardQueryParser

public interface XContentQueryParser
extends IndexComponent


Method Summary
 java.lang.String[] names()
          The names this query parser is registered under.
 org.apache.lucene.search.Query parse(QueryParseContext parseContext)
          Parses the into a query from the current parser location.
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 

Method Detail

names

java.lang.String[] names()
The names this query parser is registered under.


parse

org.apache.lucene.search.Query parse(QueryParseContext parseContext)
                                     throws java.io.IOException,
                                            QueryParsingException
Parses the into a query 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