Package com.dotcms.repackage.org.elasticsearch.action.admin.indices.status

Examples of com.dotcms.repackage.org.elasticsearch.action.admin.indices.status.IndicesStatusRequest


     * 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();
    }
View Full Code Here


   * 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();
  }
View Full Code Here

TOP

Related Classes of com.dotcms.repackage.org.elasticsearch.action.admin.indices.status.IndicesStatusRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.