public class GeoPolygonQuery
extends org.apache.lucene.search.Query
| Constructor and Description |
|---|
GeoPolygonQuery(IndexGeoPointFieldData indexFieldData,
GeoPoint... points) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(Object obj) |
String |
fieldName() |
int |
hashCode() |
GeoPoint[] |
points() |
String |
toString(String field) |
public GeoPolygonQuery(IndexGeoPointFieldData indexFieldData, GeoPoint... points)
public GeoPoint[] points()
public String fieldName()
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores)
throws IOException
createWeight in class org.apache.lucene.search.QueryIOExceptionpublic String toString(String field)
toString in class org.apache.lucene.search.Querypublic boolean equals(Object obj)
equals in class org.apache.lucene.search.Querypublic int hashCode()
hashCode in class org.apache.lucene.search.QueryCopyright © 2009–2017. All rights reserved.