OpenSearch/x-pack/plugin/core
Jim Ferenczi 23bf310c84 Replace the SearchContext with QueryShardContext when building aggregator factories (#46527)
This commit replaces the `SearchContext` with the `QueryShardContext` when building aggregator factories. Aggregator factories are part of the `SearchContext` so they shouldn't require a `SearchContext` to create them.
The main changes here are the signatures of `AggregationBuilder#build` that now takes a `QueryShardContext` and `AggregatorFactory#createInternal` that passes the `SearchContext` to build the `Aggregator`.

Relates #46523
2019-09-11 16:43:30 +02:00
..
forbidden Ensure SHA256 is not used in tests (#42289) 2019-05-22 09:54:24 +03:00
licenses Change Ldap SDK License to LGPL-2.1 (#45116) 2019-08-06 16:48:09 -04:00
src Replace the SearchContext with QueryShardContext when building aggregator factories (#46527) 2019-09-11 16:43:30 +02:00
build.gradle PKI realm authentication delegation (#45906) 2019-08-27 14:42:46 +03:00
snapshot.key Make licensing FIPS-140 compliant (#30251) 2018-05-02 22:19:43 +03:00