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()
FilterParser
names
in interface FilterParser
public org.apache.lucene.search.Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException
FilterParser
parse
in interface FilterParser
IOException
QueryParsingException
Copyright © 2009–2015. All rights reserved.