// ///////////
for (int i = 0; i < nQueries; i++) {
QualityQuery qq = qualityQueries[i];
// generate query
Query q = qqParser.parse(qq);
// search with this query
long t1 = System.currentTimeMillis();
TopDocs td = searcher.search(q, null, maxResults, a1);
// ///////////////////////////