-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Sort and truncate pipeline aggregation #14928
Copy link
Copy link
Closed
Labels
Description
This would be a parent pipeline aggregation which would take the following option:
- Sort - a bucketsPath that defines the aggregation(s) in each bucket to use to sort the buckets in the parent aggregation. If this is not provided no sorting is done on the buckets
- Offset - all buckets before this index in the sorted buckets list will be removed. Defaults to 0 (i.e. don't remove any buckets from the beginning of the list)
- Size - all buckets after
offset + sizeindex in the sorted buckets list will be removed. Defaults tobuckets.size()(i.e. don't remove any buckets from the end of the list)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.