org.elasticsearch.index.query.xcontent
Class WildcardQueryParser

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.query.xcontent.WildcardQueryParser
All Implemented Interfaces:
IndexComponent, XContentQueryParser

public class WildcardQueryParser
extends AbstractIndexComponent
implements XContentQueryParser


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
WildcardQueryParser(Index index, Settings settings)
           
 
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 class org.elasticsearch.index.AbstractIndexComponent
index, nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 

Field Detail

NAME

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

WildcardQueryParser

@Inject
public WildcardQueryParser(Index index,
                                  @IndexSettings
                                  Settings settings)
Method Detail

names

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

Specified by:
names in interface XContentQueryParser

parse

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

Specified by:
parse in interface XContentQueryParser
Throws:
java.io.IOException
QueryParsingException