93949596979899
* returns all indicies and status * @return */ public Map<String,IndexStatus> getIndicesAndStatus() { Client client=new ESClient().getClient(); return client.admin().indices().status(new IndicesStatusRequest()).actionGet().getIndices(); }
326327328329330331332333
* List of all indicies * @return */ public Set<String> listIndices() { Client client = esclient.getClient(); Map<String, IndexStatus> indices = client.admin().indices().status(new IndicesStatusRequest()).actionGet().getIndices(); return indices.keySet(); }