# Update the mappings and settings of an existing index

**URL:** <https://discuss.elastic.co/t/update-the-mappings-and-settings-of-an-existing-index/124620>\
**Category:** Elasticsearch\
**Created:** [March 19, 2018, 5:46pm UTC](https://discuss.elastic.co/t/update-the-mappings-and-settings-of-an-existing-index/124620 "2018-03-19T17:46:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![surajbs](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@surajbs](https://discuss.elastic.co/u/surajbs)\
**Post date:** [March 19, 2018, 5:46pm UTC](https://discuss.elastic.co/t/update-the-mappings-and-settings-of-an-existing-index/124620/1 "2018-03-19T17:46:25Z")

</div>

Hi All,

I need to update the properties of index field as ''true" of noteText. I believe because of this "\_all" query is not retrieving the value from that field.

Please share you opinions and ideas for this.

Thank you.

{  
"Index":{  
"mappings": {  
"Type": {  
"properties": {  
"auth": {  
"properties": {  
"authNotes":{  
"properties":  
{  
"noteText":{  
"type":"keyword"  
"index": false,  
"doc\_values": false  
}  
}  
}  
}  
}  
}  
}  
}  
}  
}

---

<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 19, 2018, 5:57pm UTC](https://discuss.elastic.co/t/update-the-mappings-and-settings-of-an-existing-index/124620/2 "2018-03-19T17:57:28Z")

</div>

You will need to reindex.

---

<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 16, 2018, 5:57pm UTC](https://discuss.elastic.co/t/update-the-mappings-and-settings-of-an-existing-index/124620/3 "2018-04-16T17:57:31Z")

</div>

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