AdminLogger.log(this.getClass(), "openIndex", "Index: " + indexName + " opened");
}
public List<String> getClosedIndexes() {
Client client=new ESClient().getClient();
Map<String,IndexMetaData> indexState=client.admin().cluster().prepareState().execute().actionGet()
.getState().getMetaData().indices();
List<String> closeIdx=new ArrayList<String>();
for(String idx : indexState.keySet()) {
IndexMetaData idxM=indexState.get(idx);