Skip to content

Commit

Permalink
- more information about peer tags
Browse files Browse the repository at this point in the history
- peer tag is by default '*'

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5975 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed May 25, 2009
1 parent 26a46b5 commit 54b9e99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions htroot/ConfigNetwork_p.html
Expand Up @@ -213,6 +213,7 @@ <h2>Network Configuration</h2>
<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>
Expand Down
2 changes: 1 addition & 1 deletion source/de/anomic/yacy/yacySeed.java
Expand Up @@ -578,7 +578,7 @@ public void setPeerTags(final Set<String> keys) {
}

public Set<String> getPeerTags() {
return serverCodings.string2set(get(PEERTAGS, ""), "|");
return serverCodings.string2set(get(PEERTAGS, "*"), "|");
}

public boolean matchPeerTags(final TreeSet<byte[]> searchHashes) {
Expand Down

0 comments on commit 54b9e99

Please sign in to comment.