Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
preventing that an empty pnd is inserted into the vocabularies
Michael Peter Christen223a5440ab9f
diff --git a/source/net/yacy/document/LibraryProvider.java b/source/net/yacy/document/LibraryProvider.javaindex 2c0acc83a..c0bf959f8 100644--- a/source/net/yacy/document/LibraryProvider.java+++ b/source/net/yacy/document/LibraryProvider.java@@ -233,7 +233,7 @@ public class LibraryProvider {// store the term into the vocabulary mapmap.put(term, new SOTuple(Tagging.normalizeTerm(term), subject));}- try {+ if (map.size() > 0) try {Log.logInfo("LibraryProvider", "adding vocabulary to autotagging");Tagging pndVoc = new Tagging("Persons", null, objectspace, map);autotagging.addVocabulary(pndVoc);