Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
repaired indexing after search snippet loading
orbiterb1e08d354c59
diff --git a/htroot/WatchCrawler_p.java b/htroot/WatchCrawler_p.javaindex b3ec7d1bf..6de31fac1 100644--- a/htroot/WatchCrawler_p.java+++ b/htroot/WatchCrawler_p.java@@ -71,7 +71,10 @@ public class WatchCrawler_p {} else {prop.put("info", "0");- if ((post.containsKey("autoforward")) && (switchboard.crawlQueues.coreCrawlJobSize() == 0) && (switchboard.crawlQueues.remoteTriggeredCrawlJobSize() == 0)) {+ if ((post.containsKey("autoforward")) &&+ (switchboard.crawlQueues.coreCrawlJobSize() == 0) &&+ (switchboard.crawlQueues.remoteTriggeredCrawlJobSize() == 0) &&+ (switchboard.queueSize() < 30)) {prop.put("forwardToCrawlStart", "1");}diff --git a/source/de/anomic/plasma/plasmaSnippetCache.java b/source/de/anomic/plasma/plasmaSnippetCache.javaindex 7b8628304..6c27e5773 100644--- a/source/de/anomic/plasma/plasmaSnippetCache.java+++ b/source/de/anomic/plasma/plasmaSnippetCache.java@@ -284,6 +284,9 @@ public class plasmaSnippetCache {// download resource using the crawler and keep resource in memory if possibleplasmaHTCache.Entry entry = plasmaSwitchboard.getSwitchboard().crawlQueues.loadResourceFromWeb(url, timeout, true, true);+ // place entry on crawl queue+ plasmaHTCache.push(entry);+// getting resource metadata (e.g. the http headers for http resources)if (entry != null) {resInfo = entry.getDocumentInfo();