I have a dismax request handler with a default fq parameter.

<requestHandler name="dismax" class="solr.DisMaxRequestHandler">
<lst name="defaults">
<str name="echoParams">explicit</str>
<float name="tie">0.01</float>
<str name="qf">
sku^9.0 upc^9.1 searchKeyword^1.9 series^2.8 productTitle^1.2 productID^9.0
manufacturer^4.0 masterFinish^1.5 theme^1.1 categoryName^2.0 finish^1.4
</str>
<str name="pf">
searchKeyword^2.1 text^0.2 productTitle^1.5 manufacturer^4.0 finish^1.9
</str>
<str name="bq">isTopSeller:true^1.30</str>
<str name="bf">linear(popularity,1,2)^3.0</str>
<str name="fl">productID,manufacturer</str>
<str name="mm">3<-1 5<-2 6<90%</str>
<int name="ps">1000000</int>
<int name="qs">3</int>
<str name="fq">discontinued:false</str>
</lst>
</requestHandler>

I understand that when I send a search post ex.
 /select?qt=dismax&q=f-0&sort=score%20desc&fq=type_string:"faucet"

What I would like to know is if there is a way to always include the fq that
is defined in the query handler and not have it be overridden but appended
automatically to any solr searches that use the query handler.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/default-fq-in-dismax-request-handler-being-overridden-tp3768735p3768735.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to