From 195e5868d3d9356b98e2b9f0d31cef839879d112 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Sun, 9 Feb 2014 15:04:46 +0100 Subject: [PATCH] catch solr close exceptions --- source/net/yacy/search/index/Fulltext.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/net/yacy/search/index/Fulltext.java b/source/net/yacy/search/index/Fulltext.java index 753311d13..748f26864 100644 --- a/source/net/yacy/search/index/Fulltext.java +++ b/source/net/yacy/search/index/Fulltext.java @@ -265,7 +265,9 @@ public final class Fulltext { public void close() { this.statsDump = null; - this.solrInstances.close(); + try { + this.solrInstances.close(); + } catch (Throwable e) {} } private long lastCommit = 0;