Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Apply tld query modifier on Solr host_s mandatory field.
lucciomane07ef1b61086
diff --git a/source/net/yacy/search/query/QueryParams.java b/source/net/yacy/search/query/QueryParams.javaindex 548c7ef10..6185fe8a0 100644--- a/source/net/yacy/search/query/QueryParams.java+++ b/source/net/yacy/search/query/QueryParams.java@@ -651,7 +651,8 @@ public final class QueryParams {}if (this.tld != null) {- fqs.add(CollectionSchema.host_dnc_s.getSolrFieldName() + ":\"" + this.tld + '\"');+ /* Use the host_s field which is mandatory, rather than the optional host_dnc_s field */+ fqs.add(CollectionSchema.host_s.getSolrFieldName() + ":*." + this.tld);}if (this.modifier.filetype != null) {