final IndexSearcher contextIndexSearcher = context.acquireIndexSearcher();
try {
final NexusScanningListener scanListener =
new NexusScanningListener(context, contextIndexSearcher, this.fullReindex,
ISPROXY(this.repository));
scanner.scan(new ScanningRequest(context, scanListener, this.fromPath));
}
finally {
context.releaseIndexSearcher(contextIndexSearcher);
}
}