|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.spatial.tier.DistanceHandler
@Deprecated public class DistanceHandler
Provide a high level access point to distances Used by DistanceSortSource and DistanceQuery
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Nested Class Summary | |
---|---|
static class |
DistanceHandler.Precision
Deprecated. |
Constructor Summary | |
---|---|
DistanceHandler(Map<Integer,Double> distances,
Map<String,Double> distanceLookupCache,
DistanceHandler.Precision precise)
Deprecated. |
Method Summary | |
---|---|
double |
getDistance(int docid,
double centerLat,
double centerLng,
double lat,
double lng)
Deprecated. |
DistanceHandler.Precision |
getPrecision()
Deprecated. |
static double |
getPrecision(double x,
DistanceHandler.Precision thisPrecise)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistanceHandler(Map<Integer,Double> distances, Map<String,Double> distanceLookupCache, DistanceHandler.Precision precise)
Method Detail |
---|
public static double getPrecision(double x, DistanceHandler.Precision thisPrecise)
public DistanceHandler.Precision getPrecision()
public double getDistance(int docid, double centerLat, double centerLng, double lat, double lng)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |