You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Manjula Wijewickrema <ma...@gmail.com> on 2017/03/27 12:46:26 UTC
hit.score
Hi,
Can someone help me to understand the value given by 'hit.score' in Lucene.
I indexed a single document with five different words with different
frequencies and try to understand this value. However, it doesn't seem to
be normalized term frequency or tf-idf. I am using Lucene 2.91.
Any help would be highly appreciated.
Re: hit.score
Posted by Manjula Wijewickrema <ma...@gmail.com>.
Thanks Adrien.
On Mon, Mar 27, 2017 at 6:56 PM, Adrien Grand <jp...@gmail.com> wrote:
> You can use IndexSearcher.explain to see how the score was computed.
>
> Le lun. 27 mars 2017 à 14:46, Manjula Wijewickrema <ma...@gmail.com> a
> écrit :
>
> > Hi,
> >
> > Can someone help me to understand the value given by 'hit.score' in
> Lucene.
> > I indexed a single document with five different words with different
> > frequencies and try to understand this value. However, it doesn't seem to
> > be normalized term frequency or tf-idf. I am using Lucene 2.91.
> >
> > Any help would be highly appreciated.
> >
>
Re: hit.score
Posted by Adrien Grand <jp...@gmail.com>.
You can use IndexSearcher.explain to see how the score was computed.
Le lun. 27 mars 2017 à 14:46, Manjula Wijewickrema <ma...@gmail.com> a
écrit :
> Hi,
>
> Can someone help me to understand the value given by 'hit.score' in Lucene.
> I indexed a single document with five different words with different
> frequencies and try to understand this value. However, it doesn't seem to
> be normalized term frequency or tf-idf. I am using Lucene 2.91.
>
> Any help would be highly appreciated.
>