# Do I need to update the mapping after updating the index template?

**URL:** https://discuss.elastic.co/t/do-i-need-to-update-the-mapping-after-updating-the-index-template/174488
**Category:** Elasticsearch
**Created:** [March 29, 2019, 7:51am UTC](https://discuss.elastic.co/t/do-i-need-to-update-the-mapping-after-updating-the-index-template/174488 "2019-03-29T07:51:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)
#### Post date: [March 29, 2019, 7:51am UTC](https://discuss.elastic.co/t/do-i-need-to-update-the-mapping-after-updating-the-index-template/174488/1 "2019-03-29T07:51:07Z")

</div>

Hi,

I'm using weekly indeces and will soon have some data incoming that requires adding a few new fields.

If I update the existing template and wait for the index to roll over to a new week before I start indexing data with the new fields, will the new field be properly added to the existing mapping or do I need to update the mapping first as well? The new data will only exist in future indeces.

---

<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: [March 29, 2019, 9:35am UTC](https://discuss.elastic.co/t/do-i-need-to-update-the-mapping-after-updating-the-index-template/174488/2 "2019-03-29T09:35:02Z")

</div>

It will be added for you.

---

<div class="post-metadata">

### Author: ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)
#### Post date: [April 1, 2019, 12:20am UTC](https://discuss.elastic.co/t/do-i-need-to-update-the-mapping-after-updating-the-index-template/174488/3 "2019-04-01T00:20:56Z")

</div>

Thanks.

I'll only update my template then.

---

<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 29, 2019, 12:20am UTC](https://discuss.elastic.co/t/do-i-need-to-update-the-mapping-after-updating-the-index-template/174488/4 "2019-04-29T00:20:58Z")

</div>

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