The scores cannot be normalized that way. You can try, but it just isn't going
to work the way you expect. Tell the people who wrote this requirement that it
isn't possible.
http://wiki.apache.org/lucene-java/ScoresAsPercentages
wunder
On Dec 9, 2013, at 10:21 PM, Prasi S wrote:
> Hi,
> I have a requirement to standardize solr scores. For example,
>
>
> docs with score > 7 Most relevant
> docs with score <7 and >4 Moderate
> docs with score <4 Less relevant.
>
> But in the real scenario this does not happen, as in few scenarios the top
> document may have a score of 3.5.
>
> Can i have the scores standardized in someway ( by index/query boosting) so
> that i can achieve this.
>
>
>
> Thanks,
> Prasi