Class ElasticsearchDocumentDistance

    • Constructor Detail

      • ElasticsearchDocumentDistance

        public ElasticsearchDocumentDistance​(org.elasticsearch.search.SearchHit hit,
                                             com.google.common.base.Function<? super String,​? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper,
                                             String geoPointField,
                                             IRI units,
                                             org.elasticsearch.common.geo.GeoPoint srcPoint,
                                             org.elasticsearch.common.unit.DistanceUnit unit)