# Join mappings under one index using common key

**URL:** <https://discuss.elastic.co/t/join-mappings-under-one-index-using-common-key/163010>\
**Category:** Elasticsearch\
**Created:** [January 4, 2019, 9:21pm UTC](https://discuss.elastic.co/t/join-mappings-under-one-index-using-common-key/163010 "2019-01-04T21:21:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alf\_sender](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alf_sender/32/39609_2.png) [@alf\_sender](https://discuss.elastic.co/u/alf_sender)\
**Post date:** [January 4, 2019, 9:21pm UTC](https://discuss.elastic.co/t/join-mappings-under-one-index-using-common-key/163010/1 "2019-01-04T21:21:43Z")

</div>

Hi,

I have index which has multiple mappings defined under it. Is there a way to join two mappings to get data from both by common key?

Regards.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 4, 2019, 9:39pm UTC](https://discuss.elastic.co/t/join-mappings-under-one-index-using-common-key/163010/2 "2019-01-04T21:39:46Z")

</div>

From 6.x you can't create anymore an index with multiple mappings.

---

<div class="post-metadata">

**Author:** ![alf\_sender](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alf_sender/32/39609_2.png) [@alf\_sender](https://discuss.elastic.co/u/alf_sender)\
**Post date:** [January 9, 2019, 12:57am UTC](https://discuss.elastic.co/t/join-mappings-under-one-index-using-common-key/163010/3 "2019-01-09T00:57:49Z")

</div>

Okay, Thank you.

---

<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:** [February 6, 2019, 12:58am UTC](https://discuss.elastic.co/t/join-mappings-under-one-index-using-common-key/163010/4 "2019-02-06T00:58:31Z")

</div>

Closed on February 6, 2019, 12:58am UTC

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