public class ElasticsearchDocumentDistance extends ElasticsearchDocumentResult implements DocumentDistance
hit
Constructor and Description |
---|
ElasticsearchDocumentDistance(SearchHit hit,
com.google.common.base.Function<? super String,? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper,
String geoPointField,
IRI units,
GeoPoint srcPoint,
DistanceUnit unit) |
Modifier and Type | Method and Description |
---|---|
double |
getDistance() |
getDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocument
public double getDistance()
getDistance
in interface DocumentDistance
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.