Is there any way that we can implement the below mappings/scenario in elasticsearch 6?
A {id}
B (Child of A){id, parentid}
C (Child of B){id, parentid}
D(Child of A){id, parentid}
Since types are deprecated from version 6. Do we need to create all the above four as indices?
How can we query A to get all documents (including its children & grandchildren) with id=xxx