Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
exclude default search fields from text copy to text_t for metadata index documents (reduce text redundance)
reger7e09bff4a1a1
diff --git a/source/net/yacy/search/schema/CollectionConfiguration.java b/source/net/yacy/search/schema/CollectionConfiguration.javaindex 342a6e85d..822297134 100644--- a/source/net/yacy/search/schema/CollectionConfiguration.java+++ b/source/net/yacy/search/schema/CollectionConfiguration.java@@ -333,12 +333,12 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seri// construct the text from other metadata parts.// This is necessary here since that is used to search the link when no other data (parsed text body) is availableStringBuilder sb = new StringBuilder(120);- accText(sb, md.dc_title());+ // accText(sb, md.dc_title()); // default search field via getQueryFields(), not needed for snippet (always displayed)accText(sb, md.dc_creator());accText(sb, md.dc_publisher());- accText(sb, md.snippet());+ // accText(sb, md.snippet()); // above added to description_txt, default search field via getQueryFields(), description_txt incl. in snippet calculationaccText(sb, md.url().toTokens());- accText(sb, keywords);+ accText(sb, keywords); // default search field via getQueryFields(), keywords not incl. in snippet calculationadd(doc, CollectionSchema.text_t, sb.toString());}