From 54b9e99c0170a5bcfd4b97f56052ba66e6f49dc6 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 25 May 2009 21:43:33 +0000 Subject: [PATCH] - more information about peer tags - peer tag is by default '*' git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5975 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/ConfigNetwork_p.html | 1 + source/de/anomic/yacy/yacySeed.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htroot/ConfigNetwork_p.html b/htroot/ConfigNetwork_p.html index 642e4d3b9..47aba510c 100644 --- a/htroot/ConfigNetwork_p.html +++ b/htroot/ConfigNetwork_p.html @@ -213,6 +213,7 @@
When you allow access from the YaCy network, your data is recognized using keywords.
Please describe your search portal with some keywords (comma-separated).
+ If you leave the field empty, no peer asks your peer. If you fill in a '*', your peer is always asked.
diff --git a/source/de/anomic/yacy/yacySeed.java b/source/de/anomic/yacy/yacySeed.java index 1b8c44cec..dd8a4784a 100644 --- a/source/de/anomic/yacy/yacySeed.java +++ b/source/de/anomic/yacy/yacySeed.java @@ -578,7 +578,7 @@ public class yacySeed implements Cloneable { } public Set getPeerTags() { - return serverCodings.string2set(get(PEERTAGS, ""), "|"); + return serverCodings.string2set(get(PEERTAGS, "*"), "|"); } public boolean matchPeerTags(final TreeSet searchHashes) {