lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <>
Subject [jira] Commented: (LUCENE-664) [PATCH] small fixes to the new scoring.html doc
Date Mon, 02 Oct 2006 23:26:21 GMT
    [ ] 
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:
>             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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message