What does sum_other_doc_count mean exactly?

When I use aggregate, I can see sum_other_doc_count in the result. What does this mean?
Thank you in advance!

1 Like

As this page explains it sum_other_doc_count - this number is the sum of the document counts for all buckets that are not part of the response. We return only the top buckets in the response. If there are many buckets, some buckets will not make it to the response. We count all the documents that contain these buckets and display this number as sum_other_doc_count.

1 Like

Thank you !!

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