Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
AND-bugfix
orbiterf2b18cede971
diff --git a/source/de/anomic/plasma/plasmaSearchEvent.java b/source/de/anomic/plasma/plasmaSearchEvent.javaindex 9439bf120..249213774 100644--- a/source/de/anomic/plasma/plasmaSearchEvent.java+++ b/source/de/anomic/plasma/plasmaSearchEvent.java@@ -163,6 +163,7 @@ public final class plasmaSearchEvent extends Thread implements Runnable {// retrieve entities that belong to the hashesprofileLocal.startTimer();Set entities = wordIndex.getEntities(query.queryHashes, true, true, profileLocal.getTargetTime(plasmaSearchProfile.PROCESS_COLLECTION));+ if (entities.size() < query.size()) entities = null; // prevent that only a subset is returnedprofileLocal.setYieldTime(plasmaSearchProfile.PROCESS_COLLECTION);profileLocal.setYieldCount(plasmaSearchProfile.PROCESS_COLLECTION, (entities == null) ? 0 : entities.size());diff --git a/source/de/anomic/plasma/plasmaWordIndex.java b/source/de/anomic/plasma/plasmaWordIndex.javaindex 2b9953f77..2e6961953 100644--- a/source/de/anomic/plasma/plasmaWordIndex.java+++ b/source/de/anomic/plasma/plasmaWordIndex.java@@ -194,7 +194,7 @@ public final class plasmaWordIndex {while (i.hasNext()) {// check timeremaining = maxTime - (System.currentTimeMillis() - start);- if ((maxTime > 0) && (remaining <= 0)) break;+ //if ((maxTime > 0) && (remaining <= 0)) break;// get next hash:singleHash = (String) i.next();