> > great.. > > one last question > I am using dismax. > > when i add this to bf in solrconfig.xml it give me errors > when executing > > <requestHandler name="dismax" class="solr.SearchHandler" > > > <lst name="defaults"> > <str > name="defType">dismax</str> > <str > name="echoParams">explicit</str> > <!-- <float > name="tie">0.1</float> --> > <str name="qf"> > text^2.5 features^10 > displayName^5.0 mfg^3.0 description^3.0 > </str> > <str name="pf"> > text^0.2 features^1.1 > displayName^5.0 mfg^3.0 mfg_exact^1.9 > </str> > <str name="bf"> > > recip(rord(mfg),1,1000,1000)^0.3 paymentType:postpaid^8.5 > </str> > .. > </requestHandler>
You need to use bq parameter. http://wiki.apache.org/solr/DisMaxQParserPlugin#bq_.28Boost_Query.29 <str name="bq">paymentType:postpaid^8.5</str>