mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 18:33:26 -04:00
The `top_metrics` agg is kind of like `top_hits` but it only works on doc values so it *should* be faster. At this point it is fairly limited in that it only supports a single, numeric sort and a single, numeric metric. And it only fetches the "very topest" document worth of metric. We plan to support returning a configurable number of top metrics, requesting more than one metric and more than one sort. And, eventually, non-numeric sorts and metrics. The trick is doing those things fairly efficiently. Co-Authored by: Zachary Tong <zach@elastic.co> |
||
---|---|---|
.. | ||
avg-aggregation.asciidoc | ||
boxplot-aggregation.asciidoc | ||
cardinality-aggregation.asciidoc | ||
extendedstats-aggregation.asciidoc | ||
geobounds-aggregation.asciidoc | ||
geocentroid-aggregation.asciidoc | ||
max-aggregation.asciidoc | ||
median-absolute-deviation-aggregation.asciidoc | ||
min-aggregation.asciidoc | ||
percentile-aggregation.asciidoc | ||
percentile-rank-aggregation.asciidoc | ||
scripted-metric-aggregation.asciidoc | ||
stats-aggregation.asciidoc | ||
string-stats-aggregation.asciidoc | ||
sum-aggregation.asciidoc | ||
top-metrics-aggregation.asciidoc | ||
tophits-aggregation.asciidoc | ||
valuecount-aggregation.asciidoc | ||
weighted-avg-aggregation.asciidoc |