if(bq.length()>0)mmsp.getMap().put(DisMaxParams.BQ,StringUtils.split(bq,"\t\n\r\f"));// bq split into multiple query params, allowing space in single query
if(bf.length()>0)mmsp.getMap().put("boost",newString[]{bf});// a boost function extension, see http://wiki.apache.org/solr/ExtendedDisMax#bf_.28Boost_Function.2C_additive.29
@ -537,6 +537,7 @@ public final class Switchboard extends serverSwitch {
bf.equals("scale(cr_host_norm_i,1,20)"))bf="";
if(bf.equals("recip(rord(last_modified),1,1000,1000))"))bf="recip(ms(NOW,last_modified),3.16e-11,1,1)";// that was an outdated date boost that did not work well
if(bq.length()>0)params.setParam(DisMaxParams.BQ,bq.split("[\\r\\n]+"));// split on any sequence consisting of CR and/or LF
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