# Parent-child document structure

**URL:** https://discuss.elastic.co/t/parent-child-document-structure/162703
**Category:** Elasticsearch
**Created:** [January 2, 2019, 7:09pm UTC](https://discuss.elastic.co/t/parent-child-document-structure/162703 "2019-01-02T19:09:57Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![abdon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdon/32/9195_2.png) [@abdon](https://discuss.elastic.co/u/abdon)
#### Post date: [January 3, 2019, 3:11pm UTC](https://discuss.elastic.co/t/parent-child-document-structure/162703/2 "2019-01-03T15:11:25Z")

</div>

This post should help you with that: [Dec 15th, 2017: [EN][Elasticsearch] Going from multiple types to one type with the Reindex API](https://discuss.elastic.co/t/dec-15th-2017-en-elasticsearch-going-from-multiple-types-to-one-type-with-the-reindex-api/111315)

One thing: the post is a little bit outdated as it recommends using `doc` as the new document type. Nowadays, it's recommended to use `_doc` instead, as that will make future migrations to version 7 easier.

---

_[View the full topic](https://discuss.elastic.co/t/parent-child-document-structure/162703)._
