if (csname == null) {
csname = "searcher";
}
CRConfigUtil srcConfig = new CRConfigFileLoader(csname, null);
idx = new IndexController(idxConfig);
try {
rp = srcConfig.getNewRequestProcessorInstance(1);
} catch (CRException e) {
log.error("Could not initialize searcher request processor." + "Check your searcher config.", e);
}