blob: 08795f758678472bf07220f5793836d7c442baca [file] [log] [blame]
window.SIDEBAR_ITEMS = {"enum":[["Aggregation","Aggregation request of [`BucketAggregation`] or [`MetricAggregation`]."],["BucketAggregationType","The bucket aggregation types."],["MetricAggregation","The aggregations in this family compute metrics based on values extracted from the documents that are being aggregated. Values are extracted from the fast field of the document. Some aggregations output a single numeric metric (e.g. Average) and are called single-value numeric metrics aggregation, others generate multiple metrics (e.g. Stats) and are called multi-value numeric metrics aggregation."]],"fn":[["get_fast_field_names","Extract all fast field names used in the tree."],["get_term_dict_field_names","Extract all fields, where the term directory is used in the tree."]],"struct":[["BucketAggregation","BucketAggregations create buckets of documents. Each bucket is associated with a rule which determines whether or not a document in the falls into it. In other words, the buckets effectively define document sets. Buckets are not necessarily disjunct, therefore a document can fall into multiple buckets. In addition to the buckets themselves, the bucket aggregations also compute and return the number of documents for each bucket. Bucket aggregations, as opposed to metric aggregations, can hold sub-aggregations. These sub-aggregations will be aggregated for the buckets created by their “parent” bucket aggregation. There are different bucket aggregators, each with a different “bucketing” strategy. Some define a single bucket, some define fixed number of multiple buckets, and others dynamically create the buckets during the aggregation process."],["RangeAggregation","Provide user-defined buckets to aggregate on. Two special buckets will automatically be created to cover the whole range of values. The provided buckets have to be continuous. During the aggregation, the values extracted from the fast_field `field` will be checked against each bucket range. Note that this aggregation includes the from value and excludes the to value for each range."]],"type":[["Aggregations","The top-level aggregation request structure, which contains [`Aggregation`] and their user defined names. It is also used in buckets to define sub-aggregations."]]};