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 so...@chesak.com on 2007/02/14 00:58:32 UTC
non-relative scoring
Is it possible to generate a non-relative score for each result, from solr?
I would like to be able to generate a web page that shows the first 3
results' scores as 87%, 73%, and 72%. If the range of solr document match
scores were between 0 and 1, it would be easy. But I never know what my
MaxScore is going to be. Sometimes it's around 2.5 but sometimes reaches
6.
Re: non-relative scoring
Posted by Walter Underwood <wu...@netflix.com>.
You can declare the top result to be 100% and scale from there.
"Percent relevant" is not a concept that really holds together.
What does it mean to be 100% relevant? I'm not even sure what
"twice as relevant" means.
A tf.idf engine, like Lucene, might not have a maximum score.
What if a document contains the word a thousand times?
A million times?
An engine with a probabilistic model does have absolute scores,
but those have other problems.
wunder
On 2/13/07 3:58 PM, "solr@chesak.com" <so...@chesak.com> wrote:
> Is it possible to generate a non-relative score for each result, from solr?
>
> I would like to be able to generate a web page that shows the first 3
> results' scores as 87%, 73%, and 72%. If the range of solr document match
> scores were between 0 and 1, it would be easy. But I never know what my
> MaxScore is going to be. Sometimes it's around 2.5 but sometimes reaches
> 6.
>