コード例 #1
0
 @Override
 public BulkNodeClient newIndex(
     String index, String type, InputStream settings, InputStream mappings) throws IOException {
   configHelper.reset();
   configHelper.setting(settings);
   configHelper.mapping(type, mappings);
   return newIndex(index, configHelper.settings(), configHelper.mappings());
 }
コード例 #2
0
 public Map<String, String> getMappings() {
   return configHelper.mappings();
 }