OpenSearch/test/framework
Colin Goodheart-Smithe ff3fd99074 Prevents exception being raised when ordering by an aggregation which wasn't collected
If a terms aggregation was ordered by a metric nested in a single bucket aggregator which did not collect any documents (e.g. a filters aggregation which did not match in that term bucket) an ArrayOutOfBoundsException would be thrown when the ordering code tried to retrieve the value for the metric. This fix fixes all numeric metric aggregators so they return their default value when a bucket ordinal is requested which was not collected.

Closes #17225
2016-03-29 13:28:03 +01:00
..
src Prevents exception being raised when ordering by an aggregation which wasn't collected 2016-03-29 13:28:03 +01:00
build.gradle Enable jdk-system-out Forbidden API checks on test sources 2016-03-15 15:03:37 +01:00