Skip to content

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

fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=1366&p=9348#p9348

orbiter5fbccfd75e62
diff --git a/source/de/anomic/plasma/plasmaDHTChunk.java b/source/de/anomic/plasma/plasmaDHTChunk.java
index 89411d6ff..a7883f854 100644
--- a/source/de/anomic/plasma/plasmaDHTChunk.java
+++ b/source/de/anomic/plasma/plasmaDHTChunk.java
@@ -294,9 +294,12 @@ public class plasmaDHTChunk {
urlHashes.add(iEntry.urlHash());
}
final String wordHash = indexContainers[i].getWordHash();
- count = wordIndex.removeEntriesExpl(this.indexContainers[i].getWordHash(), urlHashes);
- if (log.isFine())
- if (this.log.isFine()) log.logFine("Deleted partial index (" + c + " URLs) for word " + wordHash + "; " + this.wordIndex.indexSize(wordHash) + " entries left");
+ try {
+ count = wordIndex.removeEntriesExpl(this.indexContainers[i].getWordHash(), urlHashes);
+ } catch (kelondroException e) {
+ e.printStackTrace();
+ }
+ if (this.log.isFine()) log.logFine("Deleted partial index (" + c + " URLs) for word " + wordHash + "; " + this.wordIndex.indexSize(wordHash) + " entries left");
this.indexContainers[i] = null;
}
return count;