Uses of Class
org.elasticsearch.common.geo.GeoDistance
-
Packages that use GeoDistance Package Description org.elasticsearch.common.geo org.elasticsearch.index.query org.elasticsearch.search.aggregations.bucket.range org.elasticsearch.search.sort -
-
Uses of GeoDistance in org.elasticsearch.common.geo
Methods in org.elasticsearch.common.geo that return GeoDistance Modifier and Type Method Description static GeoDistanceGeoDistance. fromString(String name)Get aGeoDistanceaccording to a given name.static GeoDistanceGeoDistance. readFromStream(StreamInput in)Creates a GeoDistance instance from an input streamstatic GeoDistanceGeoDistance. valueOf(String name)Returns the enum constant of this type with the specified name.static GeoDistance[]GeoDistance. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.elasticsearch.common.geo with parameters of type GeoDistance Modifier and Type Method Description static SortedNumericDoubleValuesGeoUtils. distanceValues(GeoDistance distance, DistanceUnit unit, MultiGeoPointValues geoPointValues, GeoPoint... fromPoints)Return aSortedNumericDoubleValuesinstance that returns the distances to a list of geo-points for each document. -
Uses of GeoDistance in org.elasticsearch.index.query
Fields in org.elasticsearch.index.query declared as GeoDistance Modifier and Type Field Description static GeoDistanceGeoDistanceQueryBuilder. DEFAULT_GEO_DISTANCEDefault for geo distance computation.Methods in org.elasticsearch.index.query that return GeoDistance Modifier and Type Method Description GeoDistanceGeoDistanceQueryBuilder. geoDistance()Returns geo distance calculation type to use.Methods in org.elasticsearch.index.query with parameters of type GeoDistance Modifier and Type Method Description GeoDistanceQueryBuilderGeoDistanceQueryBuilder. geoDistance(GeoDistance geoDistance)Which type of geo distance calculation method to use. -
Uses of GeoDistance in org.elasticsearch.search.aggregations.bucket.range
Methods in org.elasticsearch.search.aggregations.bucket.range that return GeoDistance Modifier and Type Method Description GeoDistanceGeoDistanceAggregationBuilder. distanceType()Methods in org.elasticsearch.search.aggregations.bucket.range with parameters of type GeoDistance Modifier and Type Method Description GeoDistanceAggregationBuilderGeoDistanceAggregationBuilder. distanceType(GeoDistance distanceType)Constructors in org.elasticsearch.search.aggregations.bucket.range with parameters of type GeoDistance Constructor Description GeoDistanceRangeAggregatorFactory(String name, ValuesSourceConfig<ValuesSource.GeoPoint> config, GeoPoint origin, GeoDistanceAggregationBuilder.Range[] ranges, DistanceUnit unit, GeoDistance distanceType, boolean keyed, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String,Object> metaData) -
Uses of GeoDistance in org.elasticsearch.search.sort
Methods in org.elasticsearch.search.sort that return GeoDistance Modifier and Type Method Description GeoDistanceGeoDistanceSortBuilder. geoDistance()Returns the geo distance type used to compute the distance.Methods in org.elasticsearch.search.sort with parameters of type GeoDistance Modifier and Type Method Description GeoDistanceSortBuilderGeoDistanceSortBuilder. geoDistance(GeoDistance geoDistance)The geo distance type used to compute the distance.
-