public class ExistsQueryParser extends Object implements QueryParser
| Constructor and Description |
|---|
ExistsQueryParser() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
names()
The names this query parser is registered under.
|
static org.apache.lucene.search.Query |
newFilter(QueryParseContext parseContext,
String fieldPattern,
String queryName) |
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 ExistsQueryParser()
public String[] names()
QueryParsernames in interface QueryParserpublic org.apache.lucene.search.Query parse(QueryParseContext parseContext) throws IOException, QueryParsingException
QueryParserReturns null if this query should be ignored in the context of the DSL.
parse in interface QueryParserIOExceptionQueryParsingExceptionpublic static org.apache.lucene.search.Query newFilter(QueryParseContext parseContext, String fieldPattern, String queryName)
Copyright © 2009–2017. All rights reserved.