# How to disable default-mapping.json for a new index?

**URL:** <https://discuss.elastic.co/t/how-to-disable-default-mapping-json-for-a-new-index/19445>\
**Category:** Elasticsearch\
**Created:** [August 25, 2014, 7:27pm UTC](https://discuss.elastic.co/t/how-to-disable-default-mapping-json-for-a-new-index/19445 "2014-08-25T19:27:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asanderson](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@asanderson](https://discuss.elastic.co/u/asanderson)\
**Post date:** [August 25, 2014, 7:27pm UTC](https://discuss.elastic.co/t/how-to-disable-default-mapping-json-for-a-new-index/19445/1 "2014-08-25T19:27:45Z")

</div>

I've got a couple dozen or so indexes for which I've defined  
config/default-mapping.json that includes dynamic\_templates and properties  
which works fine; however, I now have a new index for which I do not want  
the default-mapping.json to apply. i.e. I just want to use the default  
out-of-the-box Elasticsearch dynamic mappings.

What's the easiest way to do this without having to define every type in  
this new index?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d2aa8f4b-624f-4d76-8cc4-1b522e719777%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d2aa8f4b-624f-4d76-8cc4-1b522e719777%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:06am UTC](https://discuss.elastic.co/t/how-to-disable-default-mapping-json-for-a-new-index/19445/2 "2017-07-06T01:06:38Z")

</div>


