@Deprecated public class DistanceHandler extends Object
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Modifier and Type | Class and Description |
---|---|
static class |
DistanceHandler.Precision
Deprecated.
|
Constructor and Description |
---|
DistanceHandler(Map<Integer,Double> distances,
Map<String,Double> distanceLookupCache,
DistanceHandler.Precision precise)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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)