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

Examples of com.dotcms.repackage.org.elasticsearch.action.admin.indices.settings.UpdateSettingsRequestBuilder.execute()


          newSettings.put("index.number_of_replicas", replicas+"");


      UpdateSettingsRequestBuilder usrb = new ESClient().getClient().admin().indices().prepareUpdateSettings(indexName);
      usrb.setSettings(newSettings);
      usrb.execute().actionGet();
    }
   
    AdminLogger.log(this.getClass(), "updateReplicas", "Replicas updated to index: " + indexName);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.