Package org.elasticsearch.search.sort
-
Interface Summary Interface Description BucketedSort.ExtraData Callbacks for storing extra data along with competitive sorts.BucketedSort.ExtraData.Loader BucketedSort.ResultBuilder<T> Used withBucketedSort.getValues(long, ResultBuilder)
to build results from the sorting operation. -
Class Summary Class Description BucketedSort Type specialized sort implementations designed for use in aggregations.BucketedSort.ForDoubles Superclass for implementations of BucketedSort fordouble
keys.BucketedSort.ForFloats Superclass for implementations of BucketedSort forfloat
keys.BucketedSort.ForLongs Superclass for implementations of BucketedSort forlong
keys.FieldSortBuilder A sort builder to sort based on a document field.GeoDistanceSortBuilder A geo distance based sorting on a geo point like field.MinAndMax<T extends java.lang.Comparable<? super T>> A class that encapsulates a minimum and a maximum, that are of the same type andComparable
.NestedSortBuilder ScoreSortBuilder A sort builder allowing to sort by score.ScriptSortBuilder Script sort builder allows to sort based on a custom script expression.ShardDocSortField ASortField
that first compares the shard index and then uses the document number (_doc) to tiebreak if the value is the same.SortAndFormats SortBuilder<T extends SortBuilder<T>> SortBuilders A set of static factory methods forSortBuilder
s.SortFieldAndFormat SortValue AComparable
,DocValueFormat
aware wrapper around a sort value. -
Enum Summary Enum Description ScriptSortBuilder.ScriptSortType SortMode Elasticsearch supports sorting by array or multi-valued fields.SortOrder A sorting order.