Multiple Nested Documents Must Match

I have an index where the documents have nested documents. Is there a way that I can return only documents where 5 or more nested documents match the search criteria?

For example: Document A has a nested field of "comments" that has "name" and "text" within it, and I want to return Document A only if there are 5 or more comments written by Person B.

Is this possible?

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