Re: Boosting score based on a 0 to 5 star rating

2011-02-03 Thread seb835
Thank you Jens - that has worked perfectly. And with a little modification, my query now looks like this: q=+(CookBook foo bar) rating_value:1^0.1 rating_value:2^0.2 ... Many thanks for your invaluable help! Seb -- View this message in context: http://lucene.472066.n3.nabble.com/Boosting-score

Boosting score based on a 0 to 5 star rating

2011-02-02 Thread seb835
Hi All, I have a set of data where a user can rate each search result (a book in my case) using 0 to 5 stars (5 stars being a highly recommended book). I therefore want to boost the relevancy score of results that have been given a star rating. Now, I can do this quite easily as follows with thi