CompositeAgg Histograms - fill empty interval gaps like normal histogramAggregation

Hi,

I think it's a bug that CompositeAggregation histograms does not have a way to "fill empty interval buckets". It is the default behaviour in normal Histogram Aggregations.

The documentation says in: https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-aggregations-bucket-histogram-aggregation.html#_minimum_document_count

By default the response will fill gaps in the histogram with empty buckets.

This is more important with DateHistograms because supporting Elasticsearch time interval calculation at client side is not so trivial.

Tried to create github issue but it was closed as "question". So here I am.

-Tuomas

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.