public interface QueryParser
| 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.
|
String[] names()
@Nullable org.apache.lucene.search.Query parse(QueryParseContext parseContext) throws IOException, QueryParsingException
Returns null if this query should be ignored in the context of the DSL.
IOExceptionQueryParsingExceptionCopyright © 2009–2016. All rights reserved.