# Change analyzer of specific property

**URL:** <https://discuss.elastic.co/t/change-analyzer-of-specific-property/99012>\
**Category:** Elasticsearch\
**Created:** [August 31, 2017, 1:42pm UTC](https://discuss.elastic.co/t/change-analyzer-of-specific-property/99012 "2017-08-31T13:42:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![abdon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdon/32/9195_2.png) [@abdon](https://discuss.elastic.co/u/abdon)\
**Post date:** [August 31, 2017, 2:48pm UTC](https://discuss.elastic.co/t/change-analyzer-of-specific-property/99012/2 "2017-08-31T14:48:25Z")

</div>

You cannot change the mapping (including the analyzer) of an existing field. What you need to do if you want to change the mapping of existing documents is reindex those documents to another index with the updated mapping.

So, first create a new index, which you create with the new mapping. Then use the reindex API to get all documents from the old index A into the new index B. As those documents get reindexed, they will get the updated mapping applied to them. More info about the reindex API here: [https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html)

---

_[View the full topic](https://discuss.elastic.co/t/change-analyzer-of-specific-property/99012)._
