# How to to update index mapping dynamicly

**URL:** <https://discuss.elastic.co/t/how-to-to-update-index-mapping-dynamicly/172083>\
**Category:** Elasticsearch\
**Created:** [March 13, 2019, 8:11am UTC](https://discuss.elastic.co/t/how-to-to-update-index-mapping-dynamicly/172083 "2019-03-13T08:11:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![begemot](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@begemot](https://discuss.elastic.co/u/begemot)\
**Post date:** [March 13, 2019, 8:11am UTC](https://discuss.elastic.co/t/how-to-to-update-index-mapping-dynamicly/172083/1 "2019-03-13T08:11:11Z")

</div>

I have to support dynamic\_templates for many languages. What is the best approach in regards to index mapping if  
we want to add mappings for different languages based on document language field

1. Is it better to upload all of them using in index template at once for all languages or update dynamic\_templates by adding new mapping for given language on demand ?  
2 is it possibly to update index settings and mapping at one rest request?

---

<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 10, 2019, 8:11am UTC](https://discuss.elastic.co/t/how-to-to-update-index-mapping-dynamicly/172083/2 "2019-04-10T08:11:18Z")

</div>

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