# Parent-Child Relationship while upgrading ES 2.4 to 7.6

**URL:** <https://discuss.elastic.co/t/parent-child-relationship-while-upgrading-es-2-4-to-7-6/226008>\
**Category:** Elasticsearch\
**Created:** [April 1, 2020, 8:43am UTC](https://discuss.elastic.co/t/parent-child-relationship-while-upgrading-es-2-4-to-7-6/226008 "2020-04-01T08:43:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prasiddha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prasiddha/32/85618_2.png) [@Prasiddha](https://discuss.elastic.co/u/Prasiddha)\
**Post date:** [April 1, 2020, 8:43am UTC](https://discuss.elastic.co/t/parent-child-relationship-while-upgrading-es-2-4-to-7-6/226008/1 "2020-04-01T08:43:51Z")

</div>

I am upgrading ES 2.4 to 7.6.

Previously I had two different types in ES 2.4, say A and B. 'A' was parent and 'B' was child.  
Now, what would be the best way maintain this relationship in ES 7.6?

Possibilities I came to figure out:

1. Use Join?
2. Use parent/child inside a document(since 7.6 is type-less)?
3. Or are there any other new techniques?

Open to any comment or suggestion. An elaborated answer would be appreciated.  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 29, 2020, 8:43am UTC](https://discuss.elastic.co/t/parent-child-relationship-while-upgrading-es-2-4-to-7-6/226008/2 "2020-04-29T08:43:56Z")

</div>

Closed on April 29, 2020, 8:43am UTC

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