public class TermsQueryParser extends Object implements QueryParser
"terms" : {
"field_name" : [ "value1", "value2" ]
"minimum_match" : 1
}
| Constructor and Description |
|---|
TermsQueryParser() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final String NAME
@Inject public TermsQueryParser()
public String[] names()
QueryParsernames in interface QueryParserpublic org.apache.lucene.search.Query parse(QueryParseContext parseContext) throws IOException, QueryParsingException
QueryParserparse in interface QueryParserIOExceptionQueryParsingExceptionCopyright © 2009–2016. All rights reserved.