Hi Puneet,

 http://localhost:8983/solr/my/select?q=type:sedan^100 type:compact^10
(:*)^1&wt=json&indent=true&fl=,score&debug=results&bf=recip(rord(publish_date),1,2,3)^1.5&sort=score
 
> desc 

Not really. The query I mentioned it does not restrict the other types,
instead it would push other types to bottom of the list as they have lower
score. The query I mentioned, Cars with type sedan listed first, compact
secondly and rest are the bottom of the list.

You would have to control the logic at the application level, which type you
want to be on the top.
In the above query, we are boosting type sedan to be on top, compact below
the sedan types and rest are at the bottom.
Change the those boosting values to get the different results.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Boosting-results-on-value-of-field-different-from-query-tp4108180p4108636.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to