Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
show dom counter only for active crawls where the dom counter is enabled within the crawl profile
orbiter3ec94d87c4e5
diff --git a/htroot/CrawlProfileEditor_p.java b/htroot/CrawlProfileEditor_p.javaindex 05e606c99..41c7eb591 100644--- a/htroot/CrawlProfileEditor_p.java+++ b/htroot/CrawlProfileEditor_p.java@@ -244,6 +244,7 @@ public class CrawlProfileEditor_p {// start contrib [MN]int i = 0;+ if (active && profile.domMaxPages() > 0 && profile.domMaxPages() != Integer.MAX_VALUE) {String item;while (i <= domlistlength && !"".equals(item = crawlStacker.domName(true, i))){if (i == domlistlength) {@@ -252,7 +253,8 @@ public class CrawlProfileEditor_p {prop.putHTML(CRAWL_PROFILE_PREFIX + count + "_crawlingDomFilterContent_" + i + "_item", item);i++;}-+ }+prop.put(CRAWL_PROFILE_PREFIX+count+"_crawlingDomFilterContent", i);prop.put(CRAWL_PROFILE_PREFIX + count + "_crawlingDomMaxPages", (profile.domMaxPages() == Integer.MAX_VALUE) ? "unlimited" : Integer.toString(profile.domMaxPages()));