How to find the parent id of a child document?


(reza) #1

Hi everybody.

Is it possible to find the parent document id from it's child document, i want to retrieve child document and it's parent document id.

thanks.


(Mark Walkom) #2

https://www.elastic.co/guide/en/elasticsearch/guide/current/has-child.html will do what you want.


(system) #3