Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Field Re-Indexing: prevent endless error loop in ReindexSolrBusyThread on Solr exception (by skipping query causing the exception) (occured during testing while working on q=store:[* TO *])

regerf2d99053ede8
diff --git a/source/net/yacy/search/index/ReindexSolrBusyThread.java b/source/net/yacy/search/index/ReindexSolrBusyThread.java
index e5d8aa501..a9cfab52c 100644
--- a/source/net/yacy/search/index/ReindexSolrBusyThread.java
+++ b/source/net/yacy/search/index/ReindexSolrBusyThread.java
@@ -133,6 +133,7 @@ import org.apache.solr.common.SolrInputDocument;
}
}
} catch (final IOException ex) {
+ ConcurrentLog.warn("MIGRATION-REINDEX", "remove following query from list due to error, q=" + querylist.remove(0));
ConcurrentLog.logException(ex);
} finally {
sem.release();