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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to