|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.Filter
org.apache.lucene.spatial.tier.DistanceFilter
org.apache.lucene.spatial.geohash.GeoHashDistanceFilter
@Deprecated public class GeoHashDistanceFilter
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Field Summary |
---|
Fields inherited from class org.apache.lucene.spatial.tier.DistanceFilter |
---|
distance, distanceLookupCache, distances, nextDocBase, precise, startingFilter |
Constructor Summary | |
---|---|
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 | |
---|---|
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. |
Methods inherited from class org.apache.lucene.spatial.tier.DistanceFilter |
---|
getDistance, getDistances, reset, setDistances |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeoHashDistanceFilter(org.apache.lucene.search.Filter startingFilter, double lat, double lng, double miles, String geoHashField)
startingFilter
- lat
- lng
- miles
- Method Detail |
---|
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader) throws IOException
getDocIdSet
in class org.apache.lucene.search.Filter
IOException
public boolean equals(Object o)
o
is equal to this.
equals
in class DistanceFilter
public int hashCode()
hashCode
in class DistanceFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |