// Get the lucene worker
LuceneIndexWorker index = (LuceneIndexWorker) context.getBroker()
.getIndexController().getWorkerByIndexId(LuceneIndex.ID);
// Perform search
report = index.search(context, toBeMatchedURIs, query);
} catch (XPathException ex) {
// Log and rethrow
logger.error(ex);