OpenSearch/docs/reference/aggregations
Zachary Tong 3df1c76f9b Allow pipeline aggs to select specific buckets from multi-bucket aggs (#44179)
This adjusts the `buckets_path` parser so that pipeline aggs can
select specific buckets (via their bucket keys) instead of fetching
the entire set of buckets.  This is useful for bucket_script in
particular, which might want specific buckets for calculations.

It's possible to workaround this with `filter` aggs, but the workaround
is hacky and probably less performant.

- Adjusts documentation
- Adds a barebones AggregatorTestCase for bucket_script
- Tweaks AggTestCase to use getMockScriptService() for reductions and
pipelines.  Previously pipelines could just pass in a script service
for testing, but this didnt work for regular aggs.  The new
getMockScriptService() method fixes that issue, but needs to be used
for pipelines too.  This had a knock-on effect of touching MovFn,
AvgBucket and ScriptedMetric
2019-08-05 12:18:40 -04:00
..
bucket [DOCS] Correct sum_other_doc_count value in terms agg example (#45028) 2019-07-31 14:10:36 -04:00
matrix Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
metrics [DOCS] Update anchors and links for Elasticsearch API relocation (#44500) 2019-07-19 09:18:23 -04:00
pipeline [7.x backport] Add more flexibility to MovingFunction window alignment (#45159) 2019-08-05 11:56:52 -04:00
bucket.asciidoc Link rare_terms docs from index page (#43882) 2019-07-03 09:32:01 -04:00
matrix.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
metrics.asciidoc median absolute deviation agg (#34482) 2018-10-30 07:22:52 -07:00
misc.asciidoc [7.x Backport] Force selection of calendar or fixed intervals (#41906) 2019-05-20 12:07:29 -04:00
pipeline.asciidoc Allow pipeline aggs to select specific buckets from multi-bucket aggs (#44179) 2019-08-05 12:18:40 -04:00