Parent child RelationShip with ES 5.X

I am changing the nested object model to parent child model.

Since type is going to get removed from elasticsearch 6.x onwards. Do we have parent-child relationship still ?

Then how to achieve this ?

As mentioned here : https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-parent-field.html
The new functionnality replacing parent child for version 6 is
https://www.elastic.co/guide/en/elasticsearch/reference/current/parent-join.html

If you are on v5, refer to https://www.elastic.co/guide/en/elasticsearch/reference/5.6/mapping-parent-field.html

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