Is there a way to process documents falling under 'sum_other_doc_count'?

I have fields that I need to aggregate on documents that fall under 'sum_other_doc_count'. I think, as the field name suggests, that this is just a count of those documents. In my case, I have to do a script add on 'field1' and 'field2' of those documents and sum aggregate it. The sum will be part of the 'others' slice of my custom application. Is there a way to do this?

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