# Is new mapping applied to new document in same index?

**URL:** <https://discuss.elastic.co/t/is-new-mapping-applied-to-new-document-in-same-index/172561>\
**Category:** Elasticsearch\
**Created:** [March 15, 2019, 3:38pm UTC](https://discuss.elastic.co/t/is-new-mapping-applied-to-new-document-in-same-index/172561 "2019-03-15T15:38:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xyz2](https://avatars.discourse-cdn.com/v4/letter/x/e480ec/32.png) [@xyz2](https://discuss.elastic.co/u/xyz2)\
**Post date:** [March 15, 2019, 3:38pm UTC](https://discuss.elastic.co/t/is-new-mapping-applied-to-new-document-in-same-index/172561/1 "2019-03-15T15:38:05Z")

</div>

Hi,

I created a new mapping template. Will the new documents in the existing index not have the latest mapping ?

Is new mapping template applied on new index only or new documents also within same index ?

Thanks,  
Kanupriya

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [March 15, 2019, 9:30pm UTC](https://discuss.elastic.co/t/is-new-mapping-applied-to-new-document-in-same-index/172561/2 "2019-03-15T21:30:36Z")

</div>

> [@xyz2](#):
>
> Is new mapping template applied on new index only or new documents also within same index ?

New indices only. You can adjust the mapping on an existing index too, but changes to a template don't affect any existing indices.

---

<div class="post-metadata">

**Author:** ![xyz2](https://avatars.discourse-cdn.com/v4/letter/x/e480ec/32.png) [@xyz2](https://discuss.elastic.co/u/xyz2)\
**Post date:** [March 20, 2019, 3:59pm UTC](https://discuss.elastic.co/t/is-new-mapping-applied-to-new-document-in-same-index/172561/3 "2019-03-20T15:59:18Z")

</div>

thanks

---

<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:** [April 17, 2019, 3:59pm UTC](https://discuss.elastic.co/t/is-new-mapping-applied-to-new-document-in-same-index/172561/4 "2019-04-17T15:59:23Z")

</div>

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