@Override public void indexUpdateFailed(String async, String indexPath, Exception e) { getOrCreateInfo(async, indexPath).addFailure(e); }
@Override public boolean skippingCorruptIndex(String async, String indexPath, Calendar corruptSince) { CorruptIndexInfo info = getOrCreateInfo(async, indexPath); if (info.skippedIndexing(checkNotNull(corruptSince))) { log.warn("Ignoring corrupt index [{}] which has been marked as corrupt [{}]. This index " + "MUST be reindexed for indexing to work properly", indexPath, info.getStats()); return true; } return false; }
@Override public boolean skippingCorruptIndex(String async, String indexPath, Calendar corruptSince) { CorruptIndexInfo info = getOrCreateInfo(async, indexPath); if (info.skippedIndexing(checkNotNull(corruptSince))) { log.warn("Ignoring corrupt index [{}] which has been marked as corrupt [{}]. This index " + "MUST be reindexed for indexing to work properly", indexPath, info.getStats()); return true; } return false; }
@Override public boolean skippingCorruptIndex(String async, String indexPath, Calendar corruptSince) { CorruptIndexInfo info = getOrCreateInfo(async, indexPath); if (info.skippedIndexing(checkNotNull(corruptSince))) { log.warn("Ignoring corrupt index [{}] which has been marked as corrupt [{}]. This index " + "MUST be reindexed for indexing to work properly", indexPath, info.getStats()); return true; } return false; }
@Override public void indexUpdateFailed(String async, String indexPath, Exception e) { if (meter != null) { meter.mark(); } getOrCreateInfo(async, indexPath).addFailure(e); }
@Override public void indexUpdateFailed(String async, String indexPath, Exception e) { if (meter != null) { meter.mark(); } getOrCreateInfo(async, indexPath).addFailure(e); }