AggregationSort
Last edit: Nov 10, 2026
Order of the buckets returned by a terms aggregation
type AggregationSort {
name: AggregationSortFieldEnum
order: AggregationSortOrderEnum
}
Fields
name (AggregationSortFieldEnum)
What to order the buckets by
order (AggregationSortOrderEnum)
Direction of the ordering