@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());
 }
 public Map<String, String> getMappings() {
   return configHelper.mappings();
 }