public void closeIndex(String indexName) {
AdminLogger.log(this.getClass(), "closeIndex", "Trying to close index: " + indexName);
Client client=new ESClient().getClient();
client.admin().indices().close(new CloseIndexRequest(indexName)).actionGet();
AdminLogger.log(this.getClass(), "closeIndex", "Index: " + indexName + " closed");
}