suram wrote:
> 
> Hi, 
>        without dismax,how can i create the more complex query for get a
> higher ranking for particular field
> 
> 

Hi, you can do that with the "^", if I understand you correct. It is called
boosting in solr. For example:

a_member_name:billy^5 OR oswald

This makes a hit with billy higher ranked than a hit with oswald. If the
value is less than 1 (one) is reduces the boosting:

a_member_name:billy OR oswald^0.2

This example reduces the ranking on a hit with oswald (and the two examples
will probably be identical in the result, I am not quite sure of that
though, but the boosting should work relative.

If you want a hit on "a_member_name" to always be boosted, just always add
the "^xx".

 
-- 
View this message in context: 
http://n3.nabble.com/weight-and-ranking-tp720944p722228.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to