Solr does not support this. You can do it yourself by taking the highest score and using that as 100% and calculating other percentages 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%. Hope this helps.

Thanks,

Matt Weber
eSr Technologies
http://www.esr-technologies.com




On Jun 8, 2009, at 10:05 PM, Vijay_here wrote:


Hi,

I am using solr to inxdex some of the legal documents, where i need the solr search engine to return relevancy ranking score for each search results. As
of now i am getting score like 3.12, 1.23, 0.23 .... so on.

Would need an more proportionate score like rounded to 100% (95% relevant, 80 % relevant and so on). Is there a way to make solr returns such scores of
such relevance. Any other approach to arrive at this scores also be
appreciated

thanks
vijay
--
View this message in context: 
http://www.nabble.com/Solr-relevancy-score---conversion-tp23936413p23936413.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to