Hi Yonik, I'd checked TermQuery, TermScorer and TermWeight then sent the previous mail. But after getting your reply, I did double-check and I understand that you are correct.
So, the formula in LIA should be re-corrected? :) Scoring formula figure omission http://www.lucenebook.com/blog/errata/scoring_formula_omission.html Thank you very much, Koji > -----Original Message----- > From: Yonik Seeley [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 27, 2005 1:23 AM > To: java-user@lucene.apache.org > Subject: Re: score formula in Similarity javadoc > > > 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 > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]