Re: Rounding errors with SOLR score

2014-03-22 Thread William Bell
I will send the debugQuery. They are exactly the same. On Fri, Mar 21, 2014 at 2:59 AM, Raymond Wiker wrote: > Are you sure that SOLR is rounding incorrectly, and not simply differently > from what you expect? I was surprised myself at some of the rounding > behaviour I saw with SOLR, but acco

Re: Rounding errors with SOLR score

2014-03-21 Thread Raymond Wiker
Are you sure that SOLR is rounding incorrectly, and not simply differently from what you expect? I was surprised myself at some of the rounding behaviour I saw with SOLR, but according to http://en.wikipedia.org/wiki/Rounding , the results were valid (just not the round-up-from-half that I naively

Rounding errors with SOLR score

2014-03-20 Thread William Bell
When doing complex boosting/bq we are getting rounding errors on the score. To get the score to be consistent I needed to use rint on sort: sort=rint(product(sum($p_score,$s_score,$q_score),100)) desc,s_query asc recip(priority,1,.5,.01) product(recip(synonym_rank,1,1,.01),17) query({!dismax qf