elasticsearch/docs/reference/aggregations/metrics
Nik Everett 56058ab6af
Support multiple metrics in `top_metrics` agg (#52965)
This adds support for returning multiple metrics to the `top_metrics`
agg. It looks like:
```
POST /test/_search?filter_path=aggregations
{
  "aggs": {
    "tm": {
      "top_metrics": {
        "metrics": [
          {"field": "v"},
          {"field": "m"}
        ],
        "sort": {"s": "desc"}
      }
    }
  }
}
```
2020-03-05 06:53:37 -05:00
..
avg-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
boxplot-aggregation.asciidoc Add histogram field type support to boxplot aggs (#52265) 2020-02-13 08:59:44 -05:00
cardinality-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
extendedstats-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
geobounds-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
geocentroid-aggregation.asciidoc [DOCS] Warn about using `geo_centroid` as sub-agg to `geohash_grid` (#50038) 2020-01-06 07:45:49 -06:00
max-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
median-absolute-deviation-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
min-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
percentile-aggregation.asciidoc Add histogram field type support to boxplot aggs (#52265) 2020-02-13 08:59:44 -05:00
percentile-rank-aggregation.asciidoc Fix leftover mentions of method parameter in Percentile Aggs (#51272) 2020-01-22 05:02:48 -10:00
scripted-metric-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
stats-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
string-stats-aggregation.asciidoc Implement stats aggregation for string terms (#47468) 2019-11-14 16:07:54 +02:00
sum-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
top-metrics-aggregation.asciidoc Support multiple metrics in `top_metrics` agg (#52965) 2020-03-05 06:53:37 -05:00
tophits-aggregation.asciidoc Remove `_type` from SearchHit (#46942) 2019-09-23 19:14:54 +01:00
valuecount-aggregation.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
weighted-avg-aggregation.asciidoc Fix dangling 'either' in weighted average docs (#51748) 2020-01-31 12:45:46 -05:00