IteratorSearchResponse result = mavenIndexer.searchIterator(req);
Query query = result.getQuery();
int totalHints = result.getTotalHitsCount();
IteratorResultSet results = new LockingIteratorResultSet(result.getResults(), lockedContexts.lock);
return new IteratorSearchResponse(query, totalHints, results);
}
catch (BooleanQuery.TooManyClauses e) {
lockedContexts.lock.unlock();