You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Bill Bell <bi...@gmail.com> on 2011/08/16 02:13:44 UTC
Score
How do I change the score to scale it between 0 and 100 irregardless of the score?
q.alt=*:*&bq=lang:Spanish&defType=dismax
Bill Bell
Sent from mobile
Re: Score
Posted by Yonik Seeley <yo...@lucidimagination.com>.
On Mon, Aug 15, 2011 at 8:13 PM, Bill Bell <bi...@gmail.com> wrote:
> How do I change the score to scale it between 0 and 100 irregardless of the score?
>
> q.alt=*:*&bq=lang:Spanish&defType=dismax
Doing this for a single query is easy: when you retrieve scores, the
maxScore is also reported. So just do
score/maxScore*100
-Yonik
http://www.lucidimagination.com
Re: Score
Posted by Shashi Kant <sk...@sloan.mit.edu>.
https://wiki.apache.org/lucene-java/ScoresAsPercentages
On Mon, Aug 15, 2011 at 8:13 PM, Bill Bell <bi...@gmail.com> wrote:
> How do I change the score to scale it between 0 and 100 irregardless of the
> score?
>
> q.alt=*:*&bq=lang:Spanish&defType=dismax
>
> Bill Bell
> Sent from mobile
>
>