Class GeoHashDistanceFilter
- java.lang.Object
-
- org.apache.lucene.search.Filter
-
- org.apache.lucene.spatial.tier.DistanceFilter
-
- org.apache.lucene.spatial.geohash.GeoHashDistanceFilter
-
- All Implemented Interfaces:
Serializable
@Deprecated public class GeoHashDistanceFilter extends DistanceFilter
Deprecated.NOTE: This API is still in flux and might change in incompatible ways in the next release.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.spatial.tier.DistanceFilter
distance, distanceLookupCache, distances, nextDocBase, precise, startingFilter
-
-
Constructor Summary
Constructors Constructor 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
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.Returns true ifois equal to this.org.apache.lucene.search.DocIdSetgetDocIdSet(org.apache.lucene.index.IndexReader reader)Deprecated.inthashCode()Deprecated.Returns a hash code value for this object.-
Methods inherited from class org.apache.lucene.spatial.tier.DistanceFilter
getDistance, getDistances, reset, setDistances
-
-
-
-
Constructor Detail
-
GeoHashDistanceFilter
public 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- Parameters:
startingFilter-lat-lng-miles-
-
-
Method Detail
-
getDocIdSet
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader) throws IOExceptionDeprecated.- Specified by:
getDocIdSetin classorg.apache.lucene.search.Filter- Throws:
IOException
-
equals
public boolean equals(Object o)
Deprecated.Returns true ifois equal to this.- Specified by:
equalsin classDistanceFilter
-
hashCode
public int hashCode()
Deprecated.Returns a hash code value for this object.- Specified by:
hashCodein classDistanceFilter
-
-