[ http://issues.apache.org/jira/browse/LUCENE-664?page=comments#action_12439344 ] Doug Cutting commented on LUCENE-664: -------------------------------------
I like the idea of refactoring this formula, but think we should be cautious about introducing new terms that look like java methods but are not. I don't see the distinction between queryNorm and normalizer. I am not convinced we need a new term here. I think 'norm' is a good term for the product of lengthNorm(d) and field boost. That's what it is called consistently in the code and API. This quantity is represented in two places, but seems like a logical candidate for the sort of factoring done here. This could be placed to the left of the sigma, since it does not depend on t. Finally, I think it might be clearer to call "searchBoost" instead t.getBoost(). > [PATCH] small fixes to the new scoring.html doc > ----------------------------------------------- > > Key: LUCENE-664 > URL: http://issues.apache.org/jira/browse/LUCENE-664 > Project: Lucene - Java > Issue Type: Improvement > Components: Website > Affects Versions: 2.0.1 > Reporter: Michael McCandless > Attachments: boosts_plus_scoring_formula.patch, lucene.uxf, > scoring-small-fixes.patch, scoring-small-fixes2.patch, > scoring-small-fixes3.patch > > > This is an awesome initiative. We need more docs that cleanly explain the > inner workings of Lucene in general... thanks Grant & Steve & others! > I have a few small initial proposed fixes, largely just adding some more > description around the components of the formula. But also a couple typos, > another link out to Wikipedia, a missing closing ), etc. I've only made it > through the "Understanding the Scoring Formula" section so far. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]