@Deprecated public class GeoHashDistanceFilter extends DistanceFilter
NOTE: This API is still in flux and might change in incompatible ways in the next release.
distance, distanceLookupCache, distances, nextDocBase, precise, startingFilter| Constructor and Description |
|---|
GeoHashDistanceFilter(org.apache.lucene.search.Filter startingFilter,
double lat,
double lng,
double miles,
java.lang.String geoHashField)
Deprecated.
Provide a distance filter based from a center point with a radius
in miles
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Deprecated.
Returns true if
o is equal to this. |
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.IndexReader reader)
Deprecated.
|
int |
hashCode()
Deprecated.
Returns a hash code value for this object.
|
getDistance, getDistances, reset, setDistancespublic GeoHashDistanceFilter(org.apache.lucene.search.Filter startingFilter,
double lat,
double lng,
double miles,
java.lang.String geoHashField)
startingFilter - lat - lng - miles - public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
throws java.io.IOException
getDocIdSet in class org.apache.lucene.search.Filterjava.io.IOExceptionpublic boolean equals(java.lang.Object o)
o is equal to this.equals in class DistanceFilterpublic int hashCode()
hashCode in class DistanceFilterCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.