Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) undoing last commit because of problems with getUpdateTime
theli214302284e25
diff --git a/source/de/anomic/plasma/plasmaWordIndexCache.java b/source/de/anomic/plasma/plasmaWordIndexCache.javaindex cefce6443..56d048e0c 100644--- a/source/de/anomic/plasma/plasmaWordIndexCache.java+++ b/source/de/anomic/plasma/plasmaWordIndexCache.java@@ -364,11 +364,13 @@ public final class plasmaWordIndexCache implements plasmaWordIndexInterface {plasmaWordIndexEntryContainer container = null;long time;synchronized (cache) {- // get the container and remove it from the cache- container = (plasmaWordIndexEntryContainer) this.cache.remove(key);+ // get the container+ container = (plasmaWordIndexEntryContainer) this.cache.get(key);if (container == null) return 0; // flushing of nonexisting keytime = getUpdateTime(key);+ // remove it from the cache+ cache.remove(key);hashScore.deleteScore(key);hashDate.deleteScore(key);}