mNumHits = numHits;
}
public void runQueries() throws Exception {
// initialize retrieval environment variables
QueryRunner runner = null;
try {
runner = new BrokerQueryRunner(mBrokerAddress);
} catch (Exception e) {
e.printStackTrace();
}
for (String qid : mQueries.keySet()) {
String rawQueryText = mQueries.get(qid);
sLogger.info("query id:" + qid + ", query text:" + rawQueryText);
runner.runQuery(qid, rawQueryText.split("\\s+"));
}
// where should we output these results?
ResultWriter resultWriter = null;
resultWriter = getResultWriter(mOutputFile, false);