I am using the java API version 5.3 and want to know the non-deprecated way of updating the index settings. Currently I use:
final UpdateSettingsResponse response = _myClient.admin().indices().prepareUpdateSettings().setSettings(newSettingsAsJson).setIndices(indexName).execute().actionGet();
But setSettings is deprecated as far as Eclipse is telling me.
Could you please tell me the new way of doing this?
Thanks
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.