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

Examples of com.dotcms.repackage.org.elasticsearch.action.admin.indices.open.OpenIndexRequest


    public void openIndex(String indexName) {
      AdminLogger.log(this.getClass(), "openIndex", "Trying to open index: " + indexName);
     
        Client client=new ESClient().getClient();
        client.admin().indices().open(new OpenIndexRequest(indexName)).actionGet();
       
        AdminLogger.log(this.getClass(), "openIndex", "Index: " + indexName + " opened");
    }
View Full Code Here

TOP

Related Classes of com.dotcms.repackage.org.elasticsearch.action.admin.indices.open.OpenIndexRequest

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.