@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,
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(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,
String geoHashField)
startingFilter - lat - lng - miles - public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
throws IOException
getDocIdSet in class org.apache.lucene.search.FilterIOExceptionpublic boolean equals(Object o)
o is equal to this.equals in class DistanceFilterpublic int hashCode()
hashCode in class DistanceFilterCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.