Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*)URL-Cleaner: moved logging-statement to correct position *)plasmaURLPattern: host is now added to the hashset in lowercase
hydrox360a460da83b
diff --git a/source/de/anomic/plasma/plasmaCrawlLURL.java b/source/de/anomic/plasma/plasmaCrawlLURL.javaindex f41da491d..7a0121b5b 100644--- a/source/de/anomic/plasma/plasmaCrawlLURL.java+++ b/source/de/anomic/plasma/plasmaCrawlLURL.java@@ -816,12 +816,12 @@ public final class plasmaCrawlLURL extends plasmaURL {lastBlacklistedHash = entry.hash();serverLog.logFine("URLDBCLEANER", ++blacklistedUrls + " blacklisted (" + ((double)blacklistedUrls/totalSearchedUrls)*100 + "%): " + entry.hash() + " " + entry.url());remove(entry.hash());+ if (blacklistedUrls % 100 == 0) {+ serverLog.logInfo("URLDBCLEANER", "Deleted " + blacklistedUrls + " URLs until now. Last deleted URL-Hash: " + lastBlacklistedUrl);+ }}lastUrl = entry.url().toString();lastHash = entry.hash();- if (blacklistedUrls % 100 == 0 && blacklistedUrls != 0) {- serverLog.logInfo("URLDBCLEANER", "Deleted " + blacklistedUrls + " URLs until now. Last deleted URL-Hash: " + lastBlacklistedUrl);- }}} catch (RuntimeException e) {if (e.getMessage().indexOf("not found in LURL") != -1) {diff --git a/source/de/anomic/plasma/plasmaURLPattern.java b/source/de/anomic/plasma/plasmaURLPattern.javaindex 6ae115a5f..540cf9bc1 100644--- a/source/de/anomic/plasma/plasmaURLPattern.java+++ b/source/de/anomic/plasma/plasmaURLPattern.java@@ -81,7 +81,7 @@ public class plasmaURLPattern {public void add(String host, String path) {if (path.length() > 0 && path.charAt(0) == '/') path = path.substring(1);- hostpaths.put(host, path);+ hostpaths.put(host.toLowerCase(), path);}public boolean isListed(String hostlow, String path) {