String indexerCopier = _senseiConf.getString(SENSEI_INDEXER_COPIER);
IndexCopier copier = pluginRegistry.getBeanByFullPrefix(SENSEI_INDEXER_COPIER, IndexCopier.class);
if (copier != null) {
zoieSystemFactory = new SenseiPairFactory(idxDir, dirMode, copier, interpreter, decorator, zoieConfig, zoieSystemFactory);
} else if (SENSEI_INDEXER_COPIER_HDFS.equals(indexerCopier)) {
zoieSystemFactory = new SenseiPairFactory(idxDir, dirMode, new HDFSIndexCopier(), interpreter, decorator, zoieConfig, zoieSystemFactory);
} else {
// do not support bootstrap index from other sources.
}
return zoieSystemFactory;