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()
.startObject("index")
.field("number_of_replicas",0)
.field("routing.allocation.include._name",nodeName)
.endObject()