|
||||||||||
| 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
@Deprecated public abstract class DistanceFilter
NOTE: This API is still in flux and might change in incompatible ways in the next release.
| Field Summary | |
|---|---|
protected double |
distance
Deprecated. |
protected WeakHashMap<String,Double> |
distanceLookupCache
Deprecated. |
protected Map<Integer,Double> |
distances
Deprecated. |
protected int |
nextDocBase
Deprecated. |
protected DistanceHandler.Precision |
precise
Deprecated. |
protected org.apache.lucene.search.Filter |
startingFilter
Deprecated. |
| Constructor Summary | |
|---|---|
DistanceFilter(org.apache.lucene.search.Filter startingFilter,
double distance)
Deprecated. Filters the startingFilter by precise distance checking filter |
|
| Method Summary | |
|---|---|
abstract boolean |
equals(Object o)
Deprecated. Returns true if o is equal to this. |
Double |
getDistance(int docid)
Deprecated. |
Map<Integer,Double> |
getDistances()
Deprecated. |
abstract int |
hashCode()
Deprecated. Returns a hash code value for this object. |
void |
reset()
Deprecated. You must call this before re-using this DistanceFilter across searches |
void |
setDistances(Map<Integer,Double> distances)
Deprecated. |
| Methods inherited from class org.apache.lucene.search.Filter |
|---|
getDocIdSet |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.lucene.search.Filter startingFilter
protected DistanceHandler.Precision precise
protected Map<Integer,Double> distances
protected double distance
protected int nextDocBase
protected transient WeakHashMap<String,Double> distanceLookupCache
| Constructor Detail |
|---|
public DistanceFilter(org.apache.lucene.search.Filter startingFilter,
double distance)
| Method Detail |
|---|
public Map<Integer,Double> getDistances()
public Double getDistance(int docid)
public void setDistances(Map<Integer,Double> distances)
public void reset()
public abstract boolean equals(Object o)
o is equal to this.
equals in class Objectpublic abstract int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||