The question is more why do you want your users to see the scores? If they are wanting to affect ranking, what you want is the ability to run the same query with different boosting and see the difference (2 result sets), then see if the new ordering is better or worse. What the actual/raw score is is irrelevant to that, what is important is ordering? If you want to show how "good" your results are, then as the link shows, that is very difficult to measure (and very subjective!)
On 26 May 2015 at 09:37, Upayavira <u...@odoko.co.uk> wrote: > Correct. The relevancy score simply states that we think result #1 is > more relevant than result #2. It doesn't say that #1 is relevant. > > The score doesn't have any validity across queries either, as, for > example, a different number of query terms will cause the score to > change. > > Upayavira > > On Tue, May 26, 2015, at 08:57 AM, Zheng Lin Edwin Yeo wrote: > > Hi Arslan, > > > > Thank you for the link. That means we are not advisable to show anything > > that's related to the relevancy score, even though the default sorting of > > the result is by relevancy score? Since showing the raw relevancy score > > does not make any sense to the user since they won't understand what it > > means too. > > > > > > Regards, > > Edwin > > > > > > > > On 26 May 2015 at 14:16, Ahmet Arslan <iori...@yahoo.com.invalid> wrote: > > > > > Hi Edwin, > > > > > > Somehow, it is not recommended to display the relevancy score in > > > percentage: > > > https://wiki.apache.org/lucene-java/ScoresAsPercentages > > > > > > Ahmet > > > > > > > > > > > > On Tuesday, May 26, 2015 8:34 AM, Zheng Lin Edwin Yeo < > > > edwinye...@gmail.com> wrote: > > > Hi, > > > > > > Would like to check, does the new version of Solr allows this function > of > > > display the relevancy score in percentage? > > > I understand from the older version that it is not able to, and the > only > > > way is to take the highest score and use that as 100%, and calculate > other > > > percentage from that number (For example if the max score is 10 and the > > > next result has a score of 5, you would do (5 / 10) * 100 = 50%) > > > > > > Is there a better way to do this now? I'm using Solr 5.1 > > > > > > > > > Regards, > > > Edwin > > > >