Age | Commit message (Collapse) | Author |
|
Migrates the `stats` and `extended_stats` aggregations and pipeline
aggregations from the special purpose aggregations streams to
`NamedWriteable`. These are the first pipeline aggregations so this
adds the infrastructure to support both streams and `NamedWriteable`s
for pipeline aggregations.
|
|
aggregation
Previously the sigma variable in the `extended_stats_bucket` pipeline aggregation was not being serialised in `ExtendedStatsBucketPipelineAggregator`. This PR fixes that.
It also corrects the initial value of sumOfSquares to be 0.
Closes #17701
|
|
Aggregations need to perform instanceof calls on MappedFieldType instances in
order to know how they should be parsed or formatted. Instead, we should let
the field types provide a formatter/parser that can can be used.
|
|
Also renamed histogram.AbstractBuilcer to AbstractHistogramBuilder, range.AbstractBuilder to AbstractRangeBuilder and org.elasticsearch.search.aggregations.pipeline.having to org.elasticsearch.search.aggregations.pipeline.bucketselector
|
|
|
|
|
|
Also renames all the implementations appropriately
|
|
|
|
|
|
chain able
|
|
Bucket, Percentiles Bucket, Stats Bucket and Extended Stats Bucket Aggregations
|
|
These are the complements to the stats/extended_stats metric aggregations, and can be used
to calculate a variety of statistics over buckets
|