public class GeoPolygonFilterParser extends Object implements FilterParser
{
"pin.location" : {
"points" : [
{ "lat" : 12, "lon" : 40},
{}
]
}
}
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
POINTS |
| Constructor and Description |
|---|
GeoPolygonFilterParser() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
names()
The names this filter is registered under.
|
org.apache.lucene.search.Filter |
parse(QueryParseContext parseContext)
Parses the into a filter from the current parser location.
|
public static final String NAME
public static final String POINTS
@Inject public GeoPolygonFilterParser()
public String[] names()
FilterParsernames in interface FilterParserpublic org.apache.lucene.search.Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException
FilterParserparse in interface FilterParserIOExceptionQueryParsingExceptionCopyright © 2009–2016. All rights reserved.