Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
remove of several results from a single domain is stopped if the result set is smaller than the wanted number of results
orbiterf0041d504d31
diff --git a/source/de/anomic/plasma/plasmaSearchEvent.java b/source/de/anomic/plasma/plasmaSearchEvent.javaindex 2d4fdb223..adbd10c5a 100644--- a/source/de/anomic/plasma/plasmaSearchEvent.java+++ b/source/de/anomic/plasma/plasmaSearchEvent.java@@ -254,8 +254,8 @@ public final class plasmaSearchEvent extends Thread implements Runnable {// apply filterprofileLocal.startTimer();- acc.removeDoubleDom();//acc.removeRedundant();+ acc.removeDoubleDom();profileLocal.setYieldTime(plasmaSearchTimingProfile.PROCESS_FILTER);profileLocal.setYieldCount(plasmaSearchTimingProfile.PROCESS_FILTER, acc.sizeOrdered());diff --git a/source/de/anomic/plasma/plasmaSearchResult.java b/source/de/anomic/plasma/plasmaSearchResult.javaindex 4f0c6acbd..2734e866f 100644--- a/source/de/anomic/plasma/plasmaSearchResult.java+++ b/source/de/anomic/plasma/plasmaSearchResult.java@@ -172,6 +172,7 @@ public final class plasmaSearchResult {String dom;while (i.hasNext()) {+ if (pageAcc.size() <= query.wantedResults) return;entry = (Map.Entry) i.next();dom = ((plasmaCrawlLURL.Entry) entry.getValue()).url().getHost();if (doms.contains(dom)) i.remove(); else doms.add(dom);diff --git a/yacy.init b/yacy.initindex a1cb9e41b..4406794c0 100644--- a/yacy.init+++ b/yacy.init@@ -417,7 +417,7 @@ xpstopw=true# the prereq-value is a memory pre-requisite: that much bytes must# be available/free in the heap; othervise the loop is not executed# and another idlesleep is performed-20_dhtdistribution_idlesleep=50000+20_dhtdistribution_idlesleep=2000020_dhtdistribution_busysleep=200020_dhtdistribution_memprereq=838860820_dhtdistribution_threads=1