Package | Description |
---|---|
org.elasticsearch.search.sort |
Modifier and Type | Method and Description |
---|---|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.geoDistance(GeoDistance geoDistance)
The geo distance type used to compute the distance.
|
static GeoDistanceSortBuilder |
SortBuilders.geoDistanceSort(String fieldName)
A geo distance based sort.
|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.geohashes(String... geohashes)
The geohash of the geo point to create the range distance facets from.
|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.order(SortOrder order)
The order of sorting.
|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.point(double lat,
double lon)
The point to create the range distance facets from.
|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.points(GeoPoint... points)
The point to create the range distance facets from.
|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.setNestedFilter(FilterBuilder nestedFilter)
Sets the nested filter that the nested objects should match with in order to be taken into account
for sorting.
|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.setNestedPath(String nestedPath)
Sets the nested path if sorting occurs on a field that is inside a nested object.
|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.sortMode(String sortMode)
Defines which distance to use for sorting in the case a document contains multiple geo points.
|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.unit(DistanceUnit unit)
The distance unit to use.
|
Copyright © 2009–2015. All rights reserved.