diff --git a/defaults/solr/schema.xml b/defaults/solr/schema.xml index c430bb0b5..d71683db2 100755 --- a/defaults/solr/schema.xml +++ b/defaults/solr/schema.xml @@ -116,7 +116,7 @@ - + diff --git a/source/net/yacy/cora/federate/solr/YaCySchema.java b/source/net/yacy/cora/federate/solr/YaCySchema.java index 3a0df9b7e..c4c4ec737 100644 --- a/source/net/yacy/cora/federate/solr/YaCySchema.java +++ b/source/net/yacy/cora/federate/solr/YaCySchema.java @@ -65,7 +65,7 @@ public enum YaCySchema implements Schema { coordinate_p(SolrType.location, true, true, false, "point in degrees of latitude,longitude as declared in WSG84"), ip_s(SolrType.string, true, true, false, "ip of host of url (after DNS lookup)"), author(SolrType.text_general, true, true, false, "content of author-tag"), - author_s(SolrType.string, true, true, false, "content of author-tag as copy-field from author. This is used for facet generation"), + author_sxt(SolrType.string, true, true, true, "content of author-tag as copy-field from author. This is used for facet generation"), description(SolrType.text_general, true, true, false, "content of description-tag"), description_unique_b(SolrType.bool, true, true, false, "flag shows if description is unique in the whole index; if yes and another document appears with same description, the unique-flag is set to false"), keywords(SolrType.text_general, true, true, false, "content of keywords tag; words are separated by space"), diff --git a/source/net/yacy/search/query/QueryParams.java b/source/net/yacy/search/query/QueryParams.java index 438d11380..62bba6e30 100644 --- a/source/net/yacy/search/query/QueryParams.java +++ b/source/net/yacy/search/query/QueryParams.java @@ -87,7 +87,7 @@ public final class QueryParams { YaCySchema.host_s.getSolrFieldName(), YaCySchema.url_protocol_s.getSolrFieldName(), YaCySchema.url_file_ext_s.getSolrFieldName(), - YaCySchema.author_s.getSolrFieldName()}; + YaCySchema.author_sxt.getSolrFieldName()}; private static final int defaultmaxfacets = 30; @@ -471,7 +471,7 @@ public final class QueryParams { // add author facets if (this.author != null && this.author.length() > 0) { - fq.append(" AND ").append(YaCySchema.author_s.getSolrFieldName()).append(":\"").append(this.author).append('\"'); + fq.append(" AND ").append(YaCySchema.author_sxt.getSolrFieldName()).append(":\"").append(this.author).append('\"'); } if (this.protocol != null) { diff --git a/source/net/yacy/search/query/SearchEvent.java b/source/net/yacy/search/query/SearchEvent.java index 95b81235d..bc95a905a 100644 --- a/source/net/yacy/search/query/SearchEvent.java +++ b/source/net/yacy/search/query/SearchEvent.java @@ -526,7 +526,7 @@ public final class SearchEvent { } if (this.authorNavigator != null) { - fcts = facets.get(YaCySchema.author_s.getSolrFieldName()); + fcts = facets.get(YaCySchema.author_sxt.getSolrFieldName()); if (fcts != null) this.authorNavigator.inc(fcts); }