Re: How to round solr score ?

2013-10-07 Thread Mamta Thakur
Thanks for your replies. I am actually doing the frange approach for now. The only downside I see there is it makes the function call twice, calling createWeight() twice. And so my social connections are evaluated twice which is quite heavy operation. So I was thinking if I could get away with o

Re: How to round solr score ?

2013-09-17 Thread Mamta Thakur
Hi , As per this post here http://grokbase.com/t/lucene/solr-user/131jzcg3q2/how-to-round-solr-score. I was able to use my custom fn in sort(defType=func&q=socialDegree(id,1)&fl=score,*&sort=score%20asc) - works, but can't facet on the same(defType=func&q=socialDegree(id,1)&fl=score,*&facet=tru