Description
BUCKET currently produces buckets only for those ranges in which there are documents.
It can be useful to produce empty buckets (and then an appropriate agg value, like 0 or null etc.) for those ranges that fall within the provided interval, but for which there's no data.
This would be similar to the behaviour that extended_bounds produces to the histograms in _search.
Description
BUCKETcurrently produces buckets only for those ranges in which there are documents.It can be useful to produce empty buckets (and then an appropriate agg value, like
0ornulletc.) for those ranges that fall within the provided interval, but for which there's no data.This would be similar to the behaviour that
extended_boundsproduces to the histograms in_search.