OpenSearch/src
Adrien Grand 9eb7441543 Make RangeAggregator a MULTI_BUCKETS aggregator.
Until now, RangeAggregator was a PER_BUCKET aggregator, expecting to be always
collected with owningBUcketOrdinal == 0. However, since the number of buckets
it creates is known in advance, it can be changed to a MULTI_BUCKETS aggregator
by just multiplying the bucket ordinal by the number of ranges.

This makes aggregations that have ranges as sub aggregations of PER_BUCKET
aggregators more efficient.

Close #4550
2013-12-27 12:43:25 +01:00
..
deb Start elasticsearch in the foreground by default 2013-12-17 10:39:22 +01:00
main Make RangeAggregator a MULTI_BUCKETS aggregator. 2013-12-27 12:43:25 +01:00
rpm Start elasticsearch in the foreground by default 2013-12-17 10:39:22 +01:00
test Make RangeAggregator a MULTI_BUCKETS aggregator. 2013-12-27 12:43:25 +01:00