if (objectCount > 0) {
indexLocation.createReopenFile();
}
UseCase ucFireEvent = MonitorFactory.startUseCase("indexCR(" + crid + ") fire IndexingFinishedEvent");
EventManager.getInstance().fireEvent(new IndexingFinishedEvent(indexLocation));
ucFireEvent.stop();
}
} catch (LockedIndexException ex) {
log.debug("LOCKED INDEX DETECTED. TRYING AGAIN IN NEXT JOB.");
if (this.indexLocation != null && !this.indexLocation.hasLockDetection()) {