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.Query
IOException
public String toString(String field)
toString
in class org.apache.lucene.search.Query
public boolean equals(Object obj)
equals
in class org.apache.lucene.search.Query
public int hashCode()
hashCode
in class org.apache.lucene.search.Query
Copyright © 2009–2016. All rights reserved.