Leo Galambos wrote:
When I want to search "Linux", nothing is found.
This word is in every article in the content.
Or is something wrong?
Yes :)

why? log(1)=0. it is OK, I think :-))) so where's any problem?
Lucene's IDF computation is:

   log( maxDoc / docFreq+1) + 1.0

Thus a term which occurs in every document gets a value of 1.0, not zero.

Doug


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to