How to find the parent id of a child document?

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.

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