lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Hit Score
Date Wed, 10 Aug 2005 20:02:48 GMT

On Aug 10, 2005, at 2:57 PM, Rajesh Munavalli wrote:

> Hi Erik,
>          This is what I see in explaination...
>
> * 0.30685282 = fieldWeight(contents:test in 0), product of:
>           o 1.0 = tf(termFreq(contents:test)=1)
>           o 0.30685282 = idf(docFreq=1)
>           o 1.0 = fieldNorm(field=mrow, doc=0)
>
>           I try to reason why the idf is 0.30685282 but couldn't  
> really
> figure out why. Is this the expected value for IDF?

http://lucene.apache.org/java/docs/api/org/apache/lucene/search/ 
Similarity.html

Look at DefaultSimilarity's idf calculation.  Similarity is  
customizable if you desire to tweak it.

     Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message