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
equally expressive, I agree that it would be nice to put 'score' in the function, for increase succinct-ness). Hope this helps, mwatts From: Raimon Bosch [mailto:raimon.bo...@gmail.com] Sent: Sunday, December 11, 2011 1:56 PM To: dev@lucene.apache.org Subject: include score in sort

include score in sort function

2011-12-11 Thread Raimon Bosch
Hi, I was testing the sorting by function query https://issues.apache.org/jira/browse/SOLR-1297 and I was trying something like: 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 lit