-
Notifications
You must be signed in to change notification settings - Fork 25.6k
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)
ipince, flyingmutant, lilizhaolilizhao, hansott, ankr and 3 moremakeyang