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(java.lang.Object obj) |
java.lang.String |
fieldName() |
int |
hashCode() |
GeoPoint[] |
points() |
java.lang.String |
toString(java.lang.String field) |
public GeoPolygonQuery(IndexGeoPointFieldData indexFieldData, GeoPoint... points)
public GeoPoint[] points()
public java.lang.String fieldName()
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores)
throws java.io.IOException
createWeight in class org.apache.lucene.search.Queryjava.io.IOExceptionpublic java.lang.String toString(java.lang.String field)
toString in class org.apache.lucene.search.Querypublic boolean equals(java.lang.Object obj)
equals in class org.apache.lucene.search.Querypublic int hashCode()
hashCode in class org.apache.lucene.search.Query