# ElasticSearch 1.7.5 - Error while updating the settings through java api

**URL:** <https://discuss.elastic.co/t/elasticsearch-1-7-5-error-while-updating-the-settings-through-java-api/67829>\
**Category:** Elasticsearch\
**Created:** [December 2, 2016, 5:54am UTC](https://discuss.elastic.co/t/elasticsearch-1-7-5-error-while-updating-the-settings-through-java-api/67829 "2016-12-02T05:54:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TTNarendran](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@TTNarendran](https://discuss.elastic.co/u/TTNarendran)\
**Post date:** [December 2, 2016, 5:54am UTC](https://discuss.elastic.co/t/elasticsearch-1-7-5-error-while-updating-the-settings-through-java-api/67829/1 "2016-12-02T05:54:52Z")

</div>

Hi Team,  
Please find the below details , am using Elasticsearch version - 1.7.5 and jar version ElasticSearch jar version -1.4.4 , while updating the settings via java api am getting the below exceptionetting exception ": [[index.analysis.analyzer.content.type, dex.analysis.analyzer.content.tokenizer]] for open indices [[mytest]]]"

Kindly help me regarding the exception

---

<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:** [December 2, 2016, 7:18am UTC](https://discuss.elastic.co/t/elasticsearch-1-7-5-error-while-updating-the-settings-through-java-api/67829/2 "2016-12-02T07:18:45Z")

</div>

You truncated the message but basically you need to close the index to set this property and then reopen.

---

<div class="post-metadata">

**Author:** ![TTNarendran](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@TTNarendran](https://discuss.elastic.co/u/TTNarendran)\
**Post date:** [December 2, 2016, 9:39am UTC](https://discuss.elastic.co/t/elasticsearch-1-7-5-error-while-updating-the-settings-through-java-api/67829/3 "2016-12-02T09:39:47Z")

</div>

Yes , currently through java api am closing the index and re opening the index

client.admin().indices().close(new CloseIndexRequest("indexName"));  
client.admin().indices().open(new OpenIndexRequest("indexName"));

---

<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:** [December 30, 2016, 9:39am UTC](https://discuss.elastic.co/t/elasticsearch-1-7-5-error-while-updating-the-settings-through-java-api/67829/4 "2016-12-30T09:39:55Z")

</div>

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