Discrepancy between doc_count
agg and histogram
agg on histogram fields
#74617
Labels
:Analytics/Aggregations
Aggregations
>bug
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
It looks like there is a bug when performing a histogram aggregation on a histogram field, if the document contains
_doc_count
field.Expected
doc_count
agg andhistogram
agg should return identical doc counts.Actual:
The doc count is (almost) doubled for
histogram
agg compared to thedoc_count
aggAffected version
Reproduce problem
Response
In the above, the correct doc count is 10 but the histogram doc count is 19.
The text was updated successfully, but these errors were encountered: