summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2009-05-25 21:43:33 +0000
committerorbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2009-05-25 21:43:33 +0000
commit54b9e99c0170a5bcfd4b97f56052ba66e6f49dc6 (patch)
treeabb70f0efe5def41270fa25d12f260aa7c028263
parent26a46b5521b3027212b03c1dd764f0383b67cc8a (diff)
- 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
-rw-r--r--htroot/ConfigNetwork_p.html1
-rw-r--r--source/de/anomic/yacy/yacySeed.java2
2 files changed, 2 insertions, 1 deletions
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 @@
<dd>
When you allow access from the YaCy network, your data is recognized using keywords.<br />
Please describe your search portal with some keywords (comma-separated).<br />
+ If you leave the field empty, no peer asks your peer. If you fill in a '*', your peer is always asked.
<input type="text" id="peertags" name="peertags" value="#[peertags]#" size="40" maxlength="80" />
</dd>
</dl>
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<String> getPeerTags() {
- return serverCodings.string2set(get(PEERTAGS, ""), "|");
+ return serverCodings.string2set(get(PEERTAGS, "*"), "|");
}
public boolean matchPeerTags(final TreeSet<byte[]> searchHashes) {