What does sum_other_doc_count mean exactly?


(Nayun Oh) #1

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


(Mayya Sharipova) #2

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.


(Nayun Oh) #3

Thank you !!


(system) closed #4

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