# \_default\_ mappings not being applied

**URL:** https://discuss.elastic.co/t/default-mappings-not-being-applied/108216
**Category:** Elasticsearch
**Created:** [November 18, 2017, 12:50am UTC](https://discuss.elastic.co/t/default-mappings-not-being-applied/108216 "2017-11-18T00:50:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Marty\_Loewenthal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marty_loewenthal/32/24409_2.png) [@Marty\_Loewenthal](https://discuss.elastic.co/u/Marty_Loewenthal)
#### Post date: [November 18, 2017, 12:50am UTC](https://discuss.elastic.co/t/default-mappings-not-being-applied/108216/1 "2017-11-18T00:50:10Z")

</div>

Hello.  
I am working on migrating from Elasticsearch 2.4 to 5.6.3. In ES 2.4 the _default_ mappings for an index are inherited into my other types, as expected. I can prove that with a call to `<index>/_default_/_mapping/` and `<index>/<myType>/_mapping` and I see that all the properties in _default_ have been added to 's mappings.  
I can also do an terms query on the property and it will work as expected.

In ES v5  
I can view the `_default_/_mapping` mapping and it looks correct, but if I view `<myType>/_mapping` it does not have the _default_ properties. I figured they may just be hidden, so attempting a terms query, I get no results.

I have re-indexed all my content to ensure the most up-to-date mappings would be applied.

Is there a configuration that could be disabling _default_ from being inherited?

---

<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 18, 2017, 10:06am UTC](https://discuss.elastic.co/t/default-mappings-not-being-applied/108216/2 "2017-11-18T10:06:07Z")

</div>

Can you show the different templates?

---

<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: [December 16, 2017, 10:06am UTC](https://discuss.elastic.co/t/default-mappings-not-being-applied/108216/3 "2017-12-16T10:06:11Z")

</div>

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