Parent-child document structure

This post should help you with that: Dec 15th, 2017: [EN][Elasticsearch] Going from multiple types to one type with the Reindex API

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.