Find all parents with 0 children

I am running Elasticsearch 5.5 and have an index with 2 types in it (type1 & type2). type1 is a parent to type2.
I need to find all parent (type1) documents that have exactly ZERO children documents.

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