Support bucket_sort aggregation #123719
Labels
enhancement
New value added to drive a business result
Feature:Aggregations
Aggregation infrastructure (AggConfig, esaggs, ...)
impact:needs-assessment
Product and/or Engineering needs to evaluate the impact of the change.
loe:medium
Medium Level of Effort
Describe the feature:
There are multiple visualizations that allow to apply buket_script aggregations in one way or another. However, when we are talking about ordering terms in terms aggregations by the values, calculated in bucket_script, this is not allowed. There are use-cases when we need to show top terms ordered by the values calculated in the bucket_script.
Describe a specific use case for the feature:
Prerequisite: index, with documents, that contain following fields:
Use Case:
Plot percentage of receivedCount over effectiveDate daily broken down by tenantName. Order tenantName by percentage of receivedCount descending and display only top 5 tenantName values.
The text was updated successfully, but these errors were encountered: