ranker = new StructuredQueryRanker(conf.get(Constants.IndexPath), fs, 1000);
mapping = ranker.getDocnoMapping();
queries = parseQueries(conf.get(Constants.QueriesPath), fs);
if (conf.get(Constants.QueryType).equals(Constants.CLIR)) {
generator = new CLWordQueryGenerator();
}else if (conf.get(Constants.QueryType).equals(Constants.MTN)) {
generator = new MtNQueryGenerator();
}else {
generator = new DefaultBagOfWordQueryGenerator();
}