Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) Bugfix for ArithmeticException during IndexTransfer See: http://www.yacy-forum.de/viewtopic.php?t=1362
theli6c48c3ce391b
diff --git a/source/de/anomic/data/robotsParser.java b/source/de/anomic/data/robotsParser.javaindex 523f3d5a8..672a2309d 100644--- a/source/de/anomic/data/robotsParser.java+++ b/source/de/anomic/data/robotsParser.java@@ -244,6 +244,7 @@ public final class robotsParser{try {downloadStart = System.currentTimeMillis();plasmaSwitchboard sb = plasmaSwitchboard.getSwitchboard();+ //TODO: adding Traffic statistic for robots download?if ((sb.remoteProxyConfig == null) || (!sb.remoteProxyConfig.useProxy())) {con = httpc.getInstance(robotsURL.getHost(), robotsURL.getPort(), 10000, false);} else {diff --git a/source/de/anomic/plasma/plasmaWordIndexDistribution.java b/source/de/anomic/plasma/plasmaWordIndexDistribution.javaindex 9abbe1ef2..5d491d141 100644--- a/source/de/anomic/plasma/plasmaWordIndexDistribution.java+++ b/source/de/anomic/plasma/plasmaWordIndexDistribution.java@@ -797,7 +797,7 @@ public final class plasmaWordIndexDistribution {plasmaWordIndexDistribution.this.log.logInfo("Index selection of " + idxCount + " words [" + newIndexEntities[0].wordHash() + " .. " + newIndexEntities[newIndexEntities.length-1].wordHash() + "]" +" in " +(selectionTime / 1000) + " seconds (" +- (1000 * idxCount / (selectionTime)) + " words/s)");+ (1000 * idxCount / (selectionTime+1)) + " words/s)");}// query status of old worker thread