ElasticSearch 1.7.5 - Error while updating the settings through java api


(Tt Narendran) #1

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


(David Pilato) #2

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


(Tt Narendran) #3

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"));


(system) #4

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