mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-07-01 02:43:45 -04:00
The `terms` agg picks the top `size` terms in a single scatter/gather pass across all the shards. For the default `order` and if you `order` by `_key` this works quite well. Some errors creep in, but it's fairly easy to point to them and understand them. But ordering by doc count ascending is like inviting the error vampire into your agg. It's super easy to get inaccurate results. This updates the docs to be more stark about it. Closes #72684 |
||
---|---|---|
.. | ||
bucket | ||
metrics | ||
pipeline | ||
bucket.asciidoc | ||
metrics.asciidoc | ||
pipeline.asciidoc |