@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 void mapping(String type, String mapping) throws IOException { configHelper.mapping(type, mapping); }
public void mapping(String type, InputStream in) throws IOException { configHelper.mapping(type, in); }