Re: include score in sort function

2011-12-13 Thread Chris Hostetter
: http://localhost:8084/solr35/myapp/select/?wt=xml&start=0&rows=13&q.alt=my+query&sort=sum(mul(score,3),mul(num_visits,2))%20desc : : In this way we will be able to add little modifications to our score a) there is a difference between modifying the scores of queries based on functions, and s

RE: include score in sort function

2011-12-11 Thread Michael Watts
Raimon, If you use the edismax query parser (defType=edismax), you can set to functions the url parameters 'bf' and 'boost' to add to or multiply by the score attribute (if I remember correctly, the addition occurs first). Since one will always occur first, you may have to do a bit of algrebra