Sounds like you want Payloads. I don't think you can guarantee a position,
but you can boost relative to others. You can give one author/book a boost
of 0 for the phrase Cooking, and another author/book a boost of .5 and yet
another a boost of 1.0. For searches that include the phrase Cooking, the
scores should reflect the boosts and the authors that bought the higher
boost value will sort higher. These discuss Payloads (it isn't a trivial
task by the way):
  http://www.ultramagnus.org/?p=1
 
http://www.lucidimagination.com/blog/2009/08/05/getting-started-with-payloads/
or use this to see other Solr-User group discussions on the topic:

http://lucene.472066.n3.nabble.com/template/NodeServlet.jtp?tpl=search-page&node=472068&query=Using+Lucene's+payload+in+Solr

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Score-boosting-tp951214p951510.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to