Re: Boosting a document score when advertised! Please help!

2015-11-05 Thread Walter Underwood
The elevation component will be a ton of manual work. Instead, use edismax and the boost parameter. Add a field that is true for paid documents, then boost for paid:true. It might be easier to use a boost query (bq) to do this. The extra boost will be a tiebreaker for documents that would have

Re: Boosting a document score when advertised! Please help!

2015-11-05 Thread Doug Turnbull
Funny I'm editing a chapter about boosting for a book :) http://manning.com/turnbull Anyway, I've been told by others that this blog post I wrote was really useful in teaching them how to carefully boost documents. Maybe it would help you? http://opensourceconnections.com/blog/2013/07/21/improve-s

Re: Boosting a document score when advertised! Please help!

2015-11-05 Thread Paul Libbrecht
Alessandro, none of them seem to match what I'd expect be done: given an extra param that indicates the author, for each query, add an extra boosting. Christian, I used to do that with a query component (in java) but I think that nowadays you can do that with the bq parameter of edismax. paul

Re: Boosting a document score when advertised! Please help!

2015-11-05 Thread Alessandro Benedetti
Hi Christian, there are several ways : 1) Elevation query component - it should be your winner : https://cwiki.apache.org/confluence/display/solr/The+Query+Elevation+Component 2) Play with boosting according to your requirements Cheers On 5 November 2015 at 10:52, wrote: > Hi everyone,I'm bui

Boosting a document score when advertised! Please help!

2015-11-05 Thread liviuchristian
Hi everyone,I'm building a food recipe search engine based on solr. I need to boost documents score for the recipes that their authors paid for in order to have them returned first when somebody searches for "chocolate cake with hazelnuts". So those recipes that match the query terms and their