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

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


      Map newSettings = new HashMap();
          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

Related Classes of com.dotcms.repackage.org.elasticsearch.action.admin.indices.settings.UpdateSettingsRequestBuilder

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.