public class GeoDistanceRangeQueryParser extends Object implements QueryParser
{
"name.lat" : 1.1,
"name.lon" : 1.2,
}
| Modifier and Type | Field and Description |
|---|---|
protected static DeprecationLogger |
deprecationLogger |
static String |
NAME |
| Constructor and Description |
|---|
GeoDistanceRangeQueryParser() |
| 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
protected static final DeprecationLogger deprecationLogger
@Inject public GeoDistanceRangeQueryParser()
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 QueryParserIOExceptionQueryParsingExceptionCopyright © 2009–2016. All rights reserved.