Map newSettings = new HashMap();
newSettings.put("index.number_of_replicas", replicas+"");
UpdateSettingsRequestBuilder usrb = new ESClient().getClient().admin().indices().prepareUpdateSettings(indexName);
usrb.setSettings(newSettings);
usrb.execute().actionGet();
}
AdminLogger.log(this.getClass(), "updateReplicas", "Replicas updated to index: " + indexName);
}