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

Examples of com.dotcms.repackage.org.elasticsearch.action.admin.indices.close.CloseIndexRequest


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

TOP

Related Classes of com.dotcms.repackage.org.elasticsearch.action.admin.indices.close.CloseIndexRequest

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.