uses edismax queries on query counts > 1 only

pull/405/head
sgaebel 4 years ago
parent 26223dc25a
commit a5488ac8f5

@ -465,7 +465,7 @@ public abstract class AbstractSolrConnector implements SolrConnector {
params.setFacet(false);
if (fields != null && fields.length > 0) params.setFields(fields);
params.setIncludeScore(false);
if (count > 0) {
if (count > 1) {
params.setParam("defType", "edismax");
params.setParam(DisMaxParams.QF, CollectionSchema.text_t.getSolrFieldName() + "^1.0");
}

Loading…
Cancel
Save