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?
Thanks,
Rajesh Munavalli
-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 10, 2005 12:42 PM
To: [email protected]
Subject: Re: Hit Score
On Aug 10, 2005, at 11:51 AM, Rajesh Munavalli wrote:
> I indexed a single document containing only one word. When I search
> for the same word I get a hit score of "0.3". Shouldn't I be getting
> "1.0"?
Try out IndexSearcher.explain() to see why. There are numerous
factors involved.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]