Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
do not fill the keywords with title content if keywords do not exist.
Michael Peter Christenf3167def6409
diff --git a/source/net/yacy/document/parser/html/ContentScraper.java b/source/net/yacy/document/parser/html/ContentScraper.javaindex 18f7cbe54..4b4618598 100644--- a/source/net/yacy/document/parser/html/ContentScraper.java+++ b/source/net/yacy/document/parser/html/ContentScraper.java@@ -781,7 +781,7 @@ public class ContentScraper extends AbstractScraper implements Scraper {if (s == null) s = this.metas.get("dc.description");if (s == null) s = EMPTY_STRING;if (s.length() == 0) {- return MultiProtocolURI.splitpattern.split(getTitle().toLowerCase());+ return new String[0];}if (s.contains(",")) return commaSepPattern.split(s);if (s.contains(";")) return semicSepPattern.split(s);