Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
some bugfixes regarding new crawling options
orbitere566d1d8d62f
diff --git a/htroot/IndexCreate_p.java b/htroot/IndexCreate_p.javaindex fbb36f7d5..673391066 100644--- a/htroot/IndexCreate_p.java+++ b/htroot/IndexCreate_p.java@@ -325,7 +325,7 @@ public class IndexCreate_p {prop.put("crawlingIfOlderUnitDayCheck", 0);prop.put("crawlingIfOlderUnitHourCheck", 0);prop.put("crawlingIfOlderUnitMinuteCheck", 0);- if (crawlingIfOlder == -1) {+ if ((crawlingIfOlder == -1) || (crawlingIfOlder == Integer.MAX_VALUE)) {prop.put("crawlingIfOlderNumber", 1);prop.put("crawlingIfOlderUnitYearCheck", 1);} else if (crawlingIfOlder >= 60*24*365) {diff --git a/source/de/anomic/plasma/plasmaCrawlProfile.java b/source/de/anomic/plasma/plasmaCrawlProfile.javaindex 470052bd9..e4e7108f9 100644--- a/source/de/anomic/plasma/plasmaCrawlProfile.java+++ b/source/de/anomic/plasma/plasmaCrawlProfile.java@@ -421,7 +421,7 @@ public class plasmaCrawlProfile {if (dp == null) {return 0 < max;} else {- return dp.count < max;+ return dp.depth < max;}}public boolean grantedDomCount(String domain) {