searcher = new IndexSearcher(databases.get(0).toString());
// Analyzer analyzer = new StopAnalyzer();
LOGGER.finer("Evaluating Query: " + q.query);
RPNTree rpnQuery = (RPNTree) q.query;
RPNConverter converter = new RPNConverter(attrMap);
Query indexQuery = converter.toLuceneQuery(rpnQuery.toRPN());
LOGGER.finer("internal query is " + indexQuery.toString("field"));
hits = searcher.search(indexQuery);
LOGGER.finer(hits.length() + " total matching documents");
//Log the first ten hits for diagnostic purposes.