Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fixed network switch process - crawling did not work after a switch before this fix
orbiter473b11033d36
diff --git a/source/de/anomic/crawler/CrawlStacker.java b/source/de/anomic/crawler/CrawlStacker.javaindex f662625d4..02d11f202 100644--- a/source/de/anomic/crawler/CrawlStacker.java+++ b/source/de/anomic/crawler/CrawlStacker.java@@ -237,7 +237,7 @@ public final class CrawlStacker {return "post url not allowed";}- final DigestURI referrerURL = (entry.referrerhash() == null) ? null : nextQueue.getURL(entry.referrerhash());+ final DigestURI referrerURL = (entry.referrerhash() == null || entry.referrerhash().length() == 0) ? null : nextQueue.getURL(entry.referrerhash());// add domain to profile domain listif ((profile.domFilterDepth() != Integer.MAX_VALUE) || (profile.domMaxPages() != Integer.MAX_VALUE)) {diff --git a/source/de/anomic/search/Switchboard.java b/source/de/anomic/search/Switchboard.javaindex 849c78f9f..b3f3fdc8e 100644--- a/source/de/anomic/search/Switchboard.java+++ b/source/de/anomic/search/Switchboard.java@@ -830,13 +830,6 @@ public final class Switchboard extends serverSwitch {", " + robots.size() + " entries" +", " + ppRamString(robotsDBFile.length()/1024));- // start a loader- log.logConfig("Starting Crawl Loader");- this.crawlQueues = new CrawlQueues(this, this.queuesRoot);- this.crawlQueues.noticeURL.setMinimumDelta(- this.getConfigLong("minimumLocalDelta", this.crawlQueues.noticeURL.getMinimumLocalDelta()),- this.getConfigLong("minimumGlobalDelta", this.crawlQueues.noticeURL.getMinimumGlobalDelta()));-this.crawlStacker = new CrawlStacker(this.crawlQueues,this.crawler,