Package org.elasticsearch.search.sort
package org.elasticsearch.search.sort
-
ClassDescriptionType specialized sort implementations designed for use in aggregations.Callbacks for storing extra data along with competitive sorts.Superclass for implementations of BucketedSort for
double
keys.Superclass for implementations of BucketedSort forfloat
keys.Superclass for implementations of BucketedSort forlong
keys.Used withBucketedSort.getValues(long, ResultBuilder)
to build results from the sorting operation.A sort builder to sort based on a document field.A geo distance based sorting on a geo point like field.MinAndMax<T extends Comparable<? super T>>A class that encapsulates a minimum and a maximum, that are of the same type andComparable
.A sort builder allowing to sort by score.Script sort builder allows to sort based on a custom script expression.ASortField
that first compares the shard index and then uses the document number (_doc) to tiebreak if the value is the same.SortBuilder<T extends SortBuilder<T>>A set of static factory methods forSortBuilder
s.Elasticsearch supports sorting by array or multi-valued fields.A sorting order.AComparable
,DocValueFormat
aware wrapper around a sort value.