OpenSearch/server
Jim Ferenczi bd11e6c441
Fix NPE on composite aggregation with sub-aggregations that need scores (#28129)
The composite aggregation defers the collection of sub-aggregations to a second pass that visits documents only if they
appear in the top buckets. Though the scorer for sub-aggregations is not set on this second pass and generates an NPE if any sub-aggregation
tries to access the score. This change creates a scorer for the second pass and makes sure that sub-aggs can use it safely to check the score of
the collected documents.
2018-01-15 18:30:38 +01:00
..
cli Rename core module to server (#28180) 2018-01-11 11:30:43 -07:00
licenses upgrade to lucene 7.2.1 (#28218) 2018-01-15 16:47:46 +01:00
src Fix NPE on composite aggregation with sub-aggregations that need scores (#28129) 2018-01-15 18:30:38 +01:00
build.gradle Introduce elasticsearch-core jar (#28191) 2018-01-15 09:59:01 -07:00