Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
small fix for count: overXX includes the count
orbitercf8e3b0df8c8
diff --git a/htroot/api/termlist_p.java b/htroot/api/termlist_p.javaindex 78f84fd55..c8d550f6f 100644--- a/htroot/api/termlist_p.java+++ b/htroot/api/termlist_p.java@@ -64,12 +64,12 @@ public class termlist_p {e = i.next();termnumber++;count = e.getScore();- if (count > 1000) over1000++;- if (count > 10000) over10000++;- if (count > 100000) over100000++;- if (count > 1000000) over1000000++;- if (count > 10000000) over10000000++;- if (count > 100000000) over100000000++;+ if (count >= 1000) over1000++;+ if (count >= 10000) over10000++;+ if (count >= 100000) over100000++;+ if (count >= 1000000) over1000000++;+ if (count >= 10000000) over10000000++;+ if (count >= 100000000) over100000000++;if (count > maxcount) {maxcount = count;maxterm = e.getObject();