With respect to different terms in a boolean query, they will contribute to the total score proportional to idf^2, so I think the javadoc as it exists now is probably more correct.
A single TermQuery will have a final score with a single idf factor in it, but that's because of the queryweight factor... look at the implementation of TermWeight for more details. -Yonik Now hiring -- http://forms.cnet.com/slink?231706 On 10/25/05, Koji Sekiguchi <[EMAIL PROTECTED]> wrote: > > Hello, > > I apologize if this list is not appropriate for sending a patch. > > It seems there is an error on score formula in Similarity javadoc: > > score(q,d) = sigma( tf * idf^2 * ... ) > > should be > > score(q,d) = sigma( tf * idf * ... ) > > if my understanding is correct, I would appreciate it if > someone could apply the attached patch to svn. > > BTW, in java langauge, operator ^ means BIT XOR... :) > > regards, > > Koji >