Limit on has child query?

Hey ,
I have a requirement of that when i am performing has child query i want elastic search to take top ten hits of child document and then return their parents instead of returning all the parents of all the hits . Anyone know's how to do this ?

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