getBusiness().getSearchEngine().saveIndex();
logger.info("Reindex finished. Reindexed " + count + " pages.");
}
catch (RequestTimeoutException e) {
getBusiness().getSearchEngine().saveIndex();
getBusiness().getMessageQueue().publish(new IndexMessage(
currentNumber));
logger.info("Reindexed " + count + " pages");
}
catch(Exception e) {
logger.error(e.getMessage());