OpenSearch/modules/lang-expression
Adrien Grand a0818d3b87 Split regular histograms from date histograms. #19551
Currently both aggregations really share the same implementation. This commit
splits the implementations so that regular histograms can support decimal
intervals/offsets and compute correct buckets for negative decimal values.

However the response API is still the same. So for intance both regular
histograms and date histograms will produce an
`org.elasticsearch.search.aggregations.bucket.histogram.Histogram`
aggregation.

The optimization to compute an identifier of the rounded value and the
rounded value itself has been removed since it was only used by regular
histograms, which now do the rounding themselves instead of relying on the
Rounding abstraction.

Closes #8082
Closes #4847
2016-08-03 08:39:48 +02:00
..
licenses Upgrade to Lucene 6.1.0. #18926 2016-06-17 09:03:00 +02:00
src Split regular histograms from date histograms. #19551 2016-08-03 08:39:48 +02:00
build.gradle Remove a few more Xlint skips 2016-01-06 23:28:13 -05:00