Vijay_here schrieb:
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.
In XSLT: <xsl:template match="result/doc"> <xsl:variable name="score-percentage" select=" round( 100 * flo...@name='score'] div ../@maxScore)"/> The "div" is the XPath division operator. Should be a straightforward mapping to any other language. Michael Ludwig