// instantiate the indexer.
if (mdlConfig.getBoolean("use.mock.indexer")) {
logger.warn("Using a mock indexer. This should be used only for testing.");
this.indexers = new IRemoteIndexer[1];
this.indexers[0] = new MockIndexer();
pageMapper = new UrlHashMapper(mdlConfig, 1);
} else {
String[] specs = null;
try {
specs = mdlConfig.getStringArray("indexer.node.list");
} catch (Exception e) {