- author facet is based on omitted author_sxt field
- adjust to make author nav available on exist of author field but keep using author_sxt to construct the facet (why!?)
- add check for querymodifier author in searchevent
params.setParam("fq",oldfq==null||oldfq.length()==0?fq:"("+oldfq+") AND ("+fq+")");
params.setParam(CommonParams.FQ,oldfq==null||oldfq.length()==0?fq:"("+oldfq+") AND ("+fq+")");
}
}
if(bq.length()>0)params.setParam("bq",bq);
if(bq.length()>0)params.setParam("bq",bq);
if(bf.length()>0)params.setParam("boost",bf);// a boost function extension, see http://wiki.apache.org/solr/ExtendedDisMax#bf_.28Boost_Function.2C_additive.29
if(bf.length()>0)params.setParam("boost",bf);// a boost function extension, see http://wiki.apache.org/solr/ExtendedDisMax#bf_.28Boost_Function.2C_additive.29
@ -465,8 +465,8 @@ public final class QueryParams {
fq.append(" AND ").append(CollectionSchema.language_s.getSolrFieldName()).append(":\"").append(this.modifier.language).append('\"');
fq.append(" AND ").append(CollectionSchema.language_s.getSolrFieldName()).append(":\"").append(this.modifier.language).append('\"');
}
}
// add author facets
// add author facets (check for contains(author) as author_sxt is omitted copyfield)