mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
ignore folder tags...on request of daburna
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4436 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
42c1e11f2b
commit
a981cd5ab7
|
@ -67,9 +67,11 @@ public class get {
|
|||
bookmarksDB.Tag tag;
|
||||
while (it.hasNext()) {
|
||||
tag = it.next();
|
||||
prop.put("tags_"+count+"_name", tag.getTagName());
|
||||
prop.put("tags_"+count+"_count", tag.size());
|
||||
count++;
|
||||
if(!tag.getTagName().startsWith("/")) { // ignore folder tags
|
||||
prop.put("tags_"+count+"_name", tag.getTagName());
|
||||
prop.put("tags_"+count+"_count", tag.size());
|
||||
count++;
|
||||
}
|
||||
}
|
||||
prop.put("tags", count);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user