mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 23:57:20 -04:00
This commit adds the ability to associate a bit of state with each individual aggregation. The aggregation response can be hard to stitch back together without having a reference to the aggregation request. In many cases this is not available, many json serializer frameworks cache types globally or have a static deserialisation override mechanism. In these cases making the original request available, if at all possible, would be a hack. The old facets returned `_type` which was just enough metadata to know what the originating facet type in the request was. This PR takes `_type` one step further by introducing ANY arbitrary meta data. This could be further <strike>ab</strike>used for instance by generic/automated aggregations that include UI state (color information, thresholds, user input states, etc) per aggregation. |
||
---|---|---|
.. | ||
aggregations | ||
request | ||
suggesters | ||
aggregations.asciidoc | ||
benchmark.asciidoc | ||
count.asciidoc | ||
exists.asciidoc | ||
explain.asciidoc | ||
facets.asciidoc | ||
more-like-this.asciidoc | ||
multi-search.asciidoc | ||
percolate.asciidoc | ||
request-body.asciidoc | ||
search-shards.asciidoc | ||
search-template.asciidoc | ||
search.asciidoc | ||
suggesters.asciidoc | ||
uri-request.asciidoc | ||
validate.asciidoc |