settings.setProperty(InternalConfigurationOptions.INTERNAL_ES_HOSTS, StringUtils.concatenate(nodes, ","));
beat = new HeartBeat(progressable, cfg, settings.getHeartBeatLead(), log);
beat.start();
resource = new Resource(settings, false);
// single index vs multi indices
IndexExtractor iformat = ObjectUtils.instantiate(settings.getMappingIndexExtractorClassName(), settings);
iformat.compile(resource.toString());
if (iformat.hasPattern()) {