# Multiple mappings in the same index

**URL:** <https://discuss.elastic.co/t/multiple-mappings-in-the-same-index/34699>\
**Category:** Elasticsearch\
**Created:** [November 16, 2015, 4:18pm UTC](https://discuss.elastic.co/t/multiple-mappings-in-the-same-index/34699 "2015-11-16T16:18:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emolla](https://avatars.discourse-cdn.com/v4/letter/e/7ea924/32.png) [@emolla](https://discuss.elastic.co/u/emolla)\
**Post date:** [November 16, 2015, 4:18pm UTC](https://discuss.elastic.co/t/multiple-mappings-in-the-same-index/34699/1 "2015-11-16T16:18:45Z")

</div>

Hello,

I'm having trouble having migrated to version 2.0 of ES.

I have an index with alias1 , which have 2 mappings (one for data and another attach ) . Before migrating to version 2.0, different mappings accessed as follows :

/ Alias1 / MAPPING1 / \_search  
/ Alias1 / MAPPING2 / \_search

But to be updated , I can now only access of the form:

/ Alias1 / MAPPING1 / \_search  
/ INDEX / MAPPING2 / \_search

I have to create an index mapping?

Thank you very much , greetings

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 17, 2015, 1:04am UTC](https://discuss.elastic.co/t/multiple-mappings-in-the-same-index/34699/2 "2015-11-17T01:04:35Z")

</div>

I'd start by looking here - [https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking\_20\_mapping\_changes.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_mapping_changes.html)

Then see if that helps clarify things 🙂

---

<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:** [July 5, 2017, 11:38pm UTC](https://discuss.elastic.co/t/multiple-mappings-in-the-same-index/34699/3 "2017-07-05T23:38:06Z")

</div>


