Hi Shalin and Erik,
DisMax works for me.

--Thanks and Regards
Vaijanath

Erik Hatcher wrote:

On Jul 30, 2008, at 9:17 AM, Vaijanath N. Rao wrote:
Hi Solr-users,

I have few fields in solr, for example let name them f1,f2,f3 of which f3 is set a default field. We have different boost for the different fields. What I need is if someone types in a query let say x. I want solr to rank the documents based on how x appeared on all the fields and not just f3 (which is default field).

Is there a way other than I issuing f1:q f2:q q to solr to get the desired behavior.

Sure thing... have a look at Solr's DisMax query parser:

   <http://wiki.apache.org/solr/DisMaxRequestHandler>

    Erik



Reply via email to