# No settings to update

**URL:** <https://discuss.elastic.co/t/no-settings-to-update/85507>\
**Category:** Elasticsearch\
**Created:** [May 12, 2017, 6:44am UTC](https://discuss.elastic.co/t/no-settings-to-update/85507 "2017-05-12T06:44:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neal\_Shan](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@Neal\_Shan](https://discuss.elastic.co/u/Neal_Shan)\
**Post date:** [May 12, 2017, 6:44am UTC](https://discuss.elastic.co/t/no-settings-to-update/85507/1 "2017-05-12T06:44:47Z")

</div>

Hi Guys, I was using Elasticsearch 2.3.5, and trying to update settings but I got this.  
Reference link: [https://www.elastic.co/guide/en/elasticsearch/reference/1.4/indices-update-settings.html#update-settings-analysis](https://www.elastic.co/guide/en/elasticsearch/reference/1.4/indices-update-settings.html#update-settings-analysis)

Error:  
{"error":{"root\_cause":[{"type":"action\_request\_validation\_exception","reason":"Validation Failed: 1: no settings to update;"}],"type":"action\_request\_validation\_exception","reason":"Validation Failed: 1: no settings to update;"},"status":400}

My Code:  
curl -s -XPUT localhost:9200/dev/\_close  
curl -s -XPUT localhost:9200/dev/\_settings -d@${dirname "$0"}/index\_settings.json  
curl -s -XPUT localhost:9200/dev/\_open

index\_settings.json  
{  
"analysis" : {  
"tokenizer" : {  
"comma" : {  
"type" : "pattern",  
"pattern" : ","  
}  
},  
"analyzer" : {  
"comma" : {  
"type" : "custom",  
"tokenizer" : "comma"  
}  
}  
}

}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 15, 2017, 1:14am UTC](https://discuss.elastic.co/t/no-settings-to-update/85507/2 "2017-05-15T01:14:31Z")

</div>

You are linking to 1.4 documentation there, take a look at [https://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-update-settings.html#update-settings-analysis](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-update-settings.html#update-settings-analysis).

---

<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:** [June 12, 2017, 1:28am UTC](https://discuss.elastic.co/t/no-settings-to-update/85507/3 "2017-06-12T01:28:46Z")

</div>

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