Skip to content

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

removed host increment on stored documents from crawler (that was wrong)

orbiterc3f6c06f2c80
diff --git a/htroot/HostBrowser.java b/htroot/HostBrowser.java
index 6a9bf3451..768631447 100644
--- a/htroot/HostBrowser.java
+++ b/htroot/HostBrowser.java
@@ -182,9 +182,6 @@ public class HostBrowser {
// collect hosts from crawler
final Map<String, Integer[]> crawler = (admin) ? sb.crawlQueues.noticeURL.getDomainStackHosts(StackType.LOCAL, sb.robots) : new HashMap<String, Integer[]>();
- for (Map.Entry<String, Integer[]> host: crawler.entrySet()) {
- hostscore.inc(host.getKey(), host.getValue()[0]);
- }
// collect the errorurls
Map<String, ReversibleScoreMap<String>> exclfacets = admin ? fulltext.getDefaultConnector().getFacets(CollectionSchema.failtype_s.getSolrFieldName() + ":" + FailType.excl.name(), maxcount, CollectionSchema.host_s.getSolrFieldName()) : null;