Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
- allow greater seed size - more logging for bad seeds
orbiter959b8c6fa05f
diff --git a/htroot/yacy/hello.java b/htroot/yacy/hello.javaindex 78ac45c41..8b7d8eb90 100644--- a/htroot/yacy/hello.java+++ b/htroot/yacy/hello.java@@ -89,7 +89,7 @@ public final class hello {final yacySeed remoteSeed = yacySeed.genRemoteSeed(seed, key, true);// System.out.println("YACYHELLO: REMOTESEED=" + ((remoteSeed == null) ? "NULL" : remoteSeed.toString()));- if ((remoteSeed == null) || (remoteSeed.hash == null)) {+ if (remoteSeed == null || remoteSeed.hash == null) {prop.put("message", "cannot parse your seed");return prop;}@@ -104,7 +104,7 @@ public final class hello {final String reportedPeerType = remoteSeed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_JUNIOR);final float clientversion = remoteSeed.getVersion();- if ((sb.isRobinsonMode()) && (!sb.isPublicRobinson())) {+ if (sb.isRobinsonMode() && !sb.isPublicRobinson()) {// if we are a robinson cluster, answer only if this client is known by our network definitionprop.put("message", "I am robinson, I do not answer");return prop;diff --git a/source/de/anomic/yacy/yacyClient.java b/source/de/anomic/yacy/yacyClient.javaindex 3863b5ef4..16cafeac8 100644--- a/source/de/anomic/yacy/yacyClient.java+++ b/source/de/anomic/yacy/yacyClient.java@@ -167,7 +167,7 @@ public final class yacyClient {} else {otherPeer = yacySeed.genRemoteSeed(seed, salt, false);if (otherPeer == null || !otherPeer.hash.equals(otherHash)) {- yacyCore.log.logInfo("yacyClient.publishMySeed: consistency error: other peer '" + ((otherPeer==null)?"unknown":otherPeer.getName()) + "' wrong");+ yacyCore.log.logInfo("yacyClient.publishMySeed: consistency error: other peer '" + ((otherPeer==null) ? ("seed=" + seed) : otherPeer.getName()) + "' wrong");return -1; // no success}}diff --git a/source/de/anomic/yacy/yacySeed.java b/source/de/anomic/yacy/yacySeed.javaindex 7b9f72d3e..9f717d150 100644--- a/source/de/anomic/yacy/yacySeed.java+++ b/source/de/anomic/yacy/yacySeed.java@@ -71,7 +71,7 @@ import de.anomic.yacy.dht.FlatWordPartitionScheme;public class yacySeed implements Cloneable {- public static final int maxsize = 4096;+ public static final int maxsize = 16000;/*** <b>substance</b> "sI" (send index/words)*/