org.elasticsearch.index.query
Class NestedQueryParser

java.lang.Object
  extended by org.elasticsearch.index.query.NestedQueryParser
All Implemented Interfaces:
QueryParser

public class NestedQueryParser
extends Object
implements QueryParser


Field Summary
static String NAME
           
 
Constructor Summary
NestedQueryParser()
           
 
Method Summary
 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

NestedQueryParser

@Inject
public NestedQueryParser()
Method Detail

names

public String[] names()
Description copied from interface: QueryParser
The names this query parser is registered under.

Specified by:
names in interface QueryParser

parse

public org.apache.lucene.search.Query parse(QueryParseContext parseContext)
                                     throws IOException,
                                            QueryParsingException
Description copied from interface: QueryParser
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".

Returns null if this query should be ignored in the context of the DSL.

Specified by:
parse in interface QueryParser
Throws:
IOException
QueryParsingException


Copyright © 2009-2012. All Rights Reserved.