// prepare judge, with trec utilities that read from a QRels file
Judge judge = new TrecJudge(FileReader.openFileReader(qrels));
// validate topics & judgments match each other
judge.validateData(qqs, logger);
// set the parsing of quality queries into Lucene queries.
QualityQueryParser qqParser = new SimpleQQParser("title", "body");
// run the benchmark