OpenSearch/docs/reference/search/aggregations
uboness 9d0fc76f54 Added support for sorting buckets based on sub aggregations
Supports sorting on sub-aggs down the current hierarchy. This is supported as long as the aggregation in the specified order path are of a single-bucket type, where the last aggregation in the path points to either a single-bucket aggregation or a metrics one. If it's a single-bucket aggregation, the sort will be applied on the document count in the bucket (i.e. doc_count), and if it is a metrics type, the sort will be applied on the pointed out metric (in case of a single-metric aggregations, such as avg, the sort will be applied on the single metric value)

 NOTE: this commit adds a constraint on what should be considered a valid aggregation name. Aggregations names must be alpha-numeric and may contain '-' and '_'.

 Closes #5253
2014-03-06 00:05:27 +01:00
..
bucket Added support for sorting buckets based on sub aggregations 2014-03-06 00:05:27 +01:00
metrics Percentiles aggregation. 2014-03-03 18:06:14 +01:00
bucket.asciidoc A GeoHashGrid aggregation that buckets GeoPoints into cells whose dimensions are determined by a choice of GeoHash resolution. 2014-01-07 18:03:33 +00:00
metrics.asciidoc Percentiles aggregation. 2014-03-03 18:06:14 +01:00