Does sum_other_doc_count include docs without that field?

I'm performing a terms agg that gives me 5 top buckets and a sum_other_doc_count against a specific field.
Not every document in my index has that field.

Does sum_other_doc_count include a count of documents without the field I'm agg-ing on?

Thanks!

I believe the answer to this is that documents without the field entirely are not counted at all, so will not appear in the sum_other_doc_count.

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