lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Bowesman <...@teamware.com>
Subject idf in scores
Date Tue, 07 Nov 2006 07:17:35 GMT
I've been trying to understand how idf is arrived at from a query.  I have a 
single Document with 9 fields.  One field "subject" has the phrase "RFC2822 - 
Internet Message Format" and a second "body" has the contents of rfc2822.

The other fields contain additional meta data.  If I search for subject:message 
I get the following explanation.

0.15342641 = fieldWeight(subject:message in 0), product of:
   1.0 = tf(termFreq(subject:message)=1)
   0.30685282 = idf(docFreq=1)
   0.5 = fieldNorm(field=subject, doc=0)

why does the idf get that value?
Antony


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


Mime
View raw message