Filtering on one set of nested values while returning inner hits on others

OuterObject contains nested NestedObject.

OuterObject1 contains NestedObject1, NestedObject2
OuterObject2 contains NestedObject3, NestedObject4

I would like to filter outer objects based on one criteria (A) on the nested objects and then return the outer object and its nested objects that pass a different second criteria (B).

So, if NestedObject1 passed my criteria A and NestedObject2 passes criteria B then I would return:

OuterObject1, NestedObject2


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