* unclusters an index, including changing the routing to all local
* @param index
* @throws IOException
*/
public void moveIndexToLocalNode(String index) throws IOException {
Client client=new ESClient().getClient();
// String nodeName="dotCMS_" + Config.getStringProperty("DIST_INDEXATION_SERVER_ID");
String nodeName="dotCMS_" + APILocator.getServerAPI().readServerId();
UpdateSettingsResponse resp=client.admin().indices().updateSettings(
new UpdateSettingsRequest(index).settings(
jsonBuilder().startObject()