From f2d99053ede88a6a324f7ef17530362bc32b423d Mon Sep 17 00:00:00 2001 From: reger Date: Mon, 29 Jul 2013 01:32:02 +0200 Subject: [PATCH] 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 *]) --- source/net/yacy/search/index/ReindexSolrBusyThread.java | 1 + 1 file changed, 1 insertion(+) 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();