On Mon, Jul 4, 2011 at 13:11, Romi <romijain3...@gmail.com> wrote: > I want to apply boost for searching. i want that if a query term occur both > in description,name than docs having query term in description field come > high in search results. for this i configure dismax request handler as: > > *<requestHandler name="dismax" class="solr.DisMaxRequestHandler" > default="true" > > <lst name="defaults"> > <str name="echoParams">explicit</str> > <float name="tie">0.01</float> > <str name="qf"> > text^0.5 name^1.0 description^1.5 > </str> > <str name="fl"> > UID_PK,name,price,description > </str> > <str name="mm"> > 2<-1 5<-2 6<90% > </str> > <int name="ps">100</int> > <str name="q.alt">*:*</str> > <str name="f.name.hl.fragsize">0</str> > <str name="f.name.hl.alternateField">name</str> > <str name="f.text.hl.fragmenter">regex</str> > </lst> > </requestHandler>* > > But i am not finding any effect in my search results. do i need to do some > more configuration to see the effect. >
Did you return the score for the queries? Did you compare scores between trials with "description^1.5" and, for example, "description^10.0"? Did you restart Solr after changes to solrconfig.xml? Marian