mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
Adds support for the `offset` parameter to the `date_histogram` source of composite aggs. The `offset` parameter is supported by the normal `date_histogram` aggregation and is useful for folks that need to measure things from, say, 6am one day to 6am the next day. This is implemented by creating a new `Rounding` that knows how to handle offsets and delegates to other rounding implementations. That implementation doesn't fully implement the `Rounding` contract, namely `nextRoundingValue`. That method isn't used by composite aggs so I can't be sure that any implementation that I add will be correct. I propose to leave it throwing `UnsupportedOperationException` until I need it. Closes #48757 |
||
---|---|---|
.. | ||
adjacency-matrix-aggregation.asciidoc | ||
autodatehistogram-aggregation.asciidoc | ||
children-aggregation.asciidoc | ||
composite-aggregation.asciidoc | ||
datehistogram-aggregation.asciidoc | ||
daterange-aggregation.asciidoc | ||
diversified-sampler-aggregation.asciidoc | ||
filter-aggregation.asciidoc | ||
filters-aggregation.asciidoc | ||
geodistance-aggregation.asciidoc | ||
geohashgrid-aggregation.asciidoc | ||
geotilegrid-aggregation.asciidoc | ||
global-aggregation.asciidoc | ||
histogram-aggregation.asciidoc | ||
iprange-aggregation.asciidoc | ||
missing-aggregation.asciidoc | ||
nested-aggregation.asciidoc | ||
parent-aggregation.asciidoc | ||
range-aggregation.asciidoc | ||
range-field-note.asciidoc | ||
rare-terms-aggregation.asciidoc | ||
reverse-nested-aggregation.asciidoc | ||
sampler-aggregation.asciidoc | ||
significantterms-aggregation.asciidoc | ||
significanttext-aggregation.asciidoc | ||
terms-aggregation.asciidoc |