OpenSearch/modules
Nik Everett f0beab4041
Stop using round-tripped PipelineAggregators (backport of #53423) (#53629)
This begins to clean up how `PipelineAggregator`s and executed.
Previously, we would create the `PipelineAggregator`s on the data nodes
and embed them in the aggregation tree. When it came time to execute the
pipeline aggregation we'd use the `PipelineAggregator`s that were on the
first shard's results. This is inefficient because:
1. The data node needs to make the `PipelineAggregator` only to
   serialize it and then throw it away.
2. The coordinating node needs to deserialize all of the
   `PipelineAggregator`s even though it only needs one of them.
3. You end up with many `PipelineAggregator` instances when you only
   really *need* one per pipeline.
4. `PipelineAggregator` needs to implement serialization.

This begins to undo these by building the `PipelineAggregator`s directly
on the coordinating node and using those instead of the
`PipelineAggregator`s in the aggregtion tree. In a follow up change
we'll stop serializing the `PipelineAggregator`s to node versions that
support this behavior. And, one day, we'll be able to remove
`PipelineAggregator` from the aggregation result tree entirely.

Importantly, this doesn't change how pipeline aggregations are declared
or parsed or requested. They are still part of the `AggregationBuilder`
tree because *that* makes sense.
2020-03-16 16:15:23 -04:00
..
aggs-matrix-stats Stop using round-tripped PipelineAggregators (backport of #53423) (#53629) 2020-03-16 16:15:23 -04:00
analysis-common Single instance of the IndexNameExpressionResolver (#52604) 2020-02-21 07:50:02 -07:00
ingest-common Revert "Upgrade to Jackson 2.10.3 and GeoIP2 to 2.13.1 (#53576)" 2020-03-15 18:10:40 -07:00
ingest-geoip Revert "Upgrade to Jackson 2.10.3 and GeoIP2 to 2.13.1 (#53576)" 2020-03-15 18:10:40 -07:00
ingest-user-agent Mute ‘test user agent processor with non-ECS schema’ 2020-02-12 10:27:18 -05:00
kibana Introduce system index APIs for Kibana (#53035) 2020-03-03 14:11:36 -07:00
lang-expression Upgrade to final lucene 8.5.0 snapshot (#53293) 2020-03-10 09:32:59 +00:00
lang-mustache Fix inaccurate total hit count in _search template api (#53155) 2020-03-16 11:48:43 +01:00
lang-painless Use ByteBuffersDirectory rather than RAMDirectory (#52768) 2020-02-25 15:46:35 +00:00
mapper-extras Add size support to `top_metrics` (backport of #52662) (#52914) 2020-02-27 16:12:52 -05:00
parent-join Add a cluster setting to disallow expensive queries (#51385) (#52279) 2020-02-12 22:56:14 +01:00
percolator Upgrade to final lucene 8.5.0 snapshot (#53293) 2020-03-10 09:32:59 +00:00
rank-eval Adds recall@k metric to rank eval API (#52889) 2020-02-27 16:04:24 +01:00
reindex Delete by query test on low free disk block (#52759) 2020-02-25 15:54:30 +01:00
repository-url Remove Unused Single Delete in BlobStoreRepository (#50024) (#50123) 2019-12-12 11:17:46 +01:00
systemd Single instance of the IndexNameExpressionResolver (#52604) 2020-02-21 07:50:02 -07:00
tasks Introduce system index APIs for Kibana (#53035) 2020-03-03 14:11:36 -07:00
transport-netty4 Fix compilation error 2020-02-20 14:39:44 +00:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00