- 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
pull/1/head
orbiter 16 years ago
parent 26a46b5521
commit 54b9e99c01

@ -213,6 +213,7 @@
<dd> <dd>
When you allow access from the YaCy network, your data is recognized using keywords.<br /> 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 /> 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" /> <input type="text" id="peertags" name="peertags" value="#[peertags]#" size="40" maxlength="80" />
</dd> </dd>
</dl> </dl>

@ -578,7 +578,7 @@ public class yacySeed implements Cloneable {
} }
public Set<String> getPeerTags() { public Set<String> getPeerTags() {
return serverCodings.string2set(get(PEERTAGS, ""), "|"); return serverCodings.string2set(get(PEERTAGS, "*"), "|");
} }
public boolean matchPeerTags(final TreeSet<byte[]> searchHashes) { public boolean matchPeerTags(final TreeSet<byte[]> searchHashes) {

Loading…
Cancel
Save