You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by deepakinniah <de...@gmail.com> on 2013/08/14 08:38:16 UTC

Search against one field and boost against different fields..

Is this possible to search on one filed and boost on different fields like
q=text:deepak&defType=edismax&qf=name^10?.. else any other way to achieve
this?



--
View this message in context: http://lucene.472066.n3.nabble.com/Search-against-one-field-and-boost-against-different-fields-tp4084481.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Search against one field and boost against different fields..

Posted by Jack Krupansky <ja...@basetechnology.com>.
Try the bq boost query parameter

bf=name:deepak^10

Or, make the main query term mandatory and the boost term optional:

q=+text:deepak name:deepak^10

-- Jack Krupansky

-----Original Message----- 
From: deepakinniah
Sent: Wednesday, August 14, 2013 2:38 AM
To: solr-user@lucene.apache.org
Subject: Search against one field and boost against different fields..

Is this possible to search on one filed and boost on different fields like
q=text:deepak&defType=edismax&qf=name^10?.. else any other way to achieve
this?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-against-one-field-and-boost-against-different-fields-tp4084481.html
Sent from the Solr - User mailing list archive at Nabble.com.