7,540
edits
Changes
→Aggregáció
==Aggregáció==
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html
* '''Bucketing''': A family of aggregations that build buckets, where each bucket is associated with a key and a document criterion. When the aggregation is executed, all the buckets criteria are evaluated on every document in the context and when a criterion matches, the document is considered to "fall in" the relevant bucket. By the end of the aggregation process, we’ll end up with a list of buckets - each one with a set of documents that "belong" to it.
* '''Metric''': Aggregations that keep track and compute metrics over a set of documents.
* '''Matrix''': A family of aggregations that operate on multiple fields and produce a matrix result based on the values extracted from the requested document fields. Unlike metric and bucket aggregations, this aggregation family does not yet support scripting.
* '''Pipeline''': Aggregations that aggregate the output of other aggregations and their associated metrics