OpenSearch/modules
Nik Everett e58ad9fed3
Clean up how pipeline aggs check for multi-bucket (backport of #54161) (#54379)
Pipeline aggregations like `stats_bucket`, `sum_bucket`, and
`percentiles_bucket` only operate on buckets that have multiple buckets.
This adds support for those aggregations to `geo_distance`, `ip_range`,
`auto_date_histogram`, and `rare_terms`.

This all happened because we used a marker interface to mark compatible
aggs, `MultiBucketAggregationBuilder` and it was fairly easy to forget
to implement the interface.

This replaces the marker interface with an abstract method in
`AggregationBuilder`, `bucketCardinality` which makes you return `NONE`,
`ONE`, or `MANY`. The `bucket` aggregations can check for `MANY`. At
this point `ONE` and `NONE` amount to about the same thing, but I
suspect that'll be a useful distinction when validating bucket sorts.

Closes #53215
2020-03-30 10:44:55 -04:00
..
aggs-matrix-stats Clean up how pipeline aggs check for multi-bucket (backport of #54161) (#54379) 2020-03-30 10:44:55 -04:00
analysis-common [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
ingest-common [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
ingest-geoip [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
ingest-user-agent [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
lang-expression Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
lang-mustache [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
lang-painless Docs: Use splitOnToken instead of custom function (#48408) (#54364) 2020-03-27 15:04:27 -06:00
mapper-extras [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
parent-join Clean up how pipeline aggs check for multi-bucket (backport of #54161) (#54379) 2020-03-30 10:44:55 -04:00
percolator [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
rank-eval [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
reindex Reindex negative TimeValue fix (#54057) 2020-03-24 22:29:09 +01:00
repository-url [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
systemd Single instance of the IndexNameExpressionResolver (#52604) 2020-02-21 07:50:02 -07:00
tasks Revert "Introduce system index APIs for Kibana (#53035)" (#53992) 2020-03-23 10:29:35 -07:00
transport-netty4 Move transport decoding and aggregation to server (#54360) 2020-03-27 14:13:10 -06:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00