Currently we implemented parent/child relationship in elastic search by creating multiple types within same index.
We created mapping such a way that Candidates as index and it has child types namely "person,study,workexperience". "person" type represents as parent and "study,workexperience" as child types for "parent".
In java we created POJO for each type and indexing.
So my question how can we achieve same thing (above mentioned) using join fields(6.0 version). Could you please share the mapping changes and what could be changes in java side.
Thanks in advance.