@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 | Description |
|---|---|---|
static class |
DistanceHandler.Precision |
Deprecated.
|
| Constructor | Description |
|---|---|
DistanceHandler(Map<Integer,Double> distances,
Map<String,Double> distanceLookupCache,
DistanceHandler.Precision precise) |
Deprecated.
|
| Modifier and Type | Method | 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)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.