lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4935) CustomScoreQuery has broken boosting
Date Tue, 16 Apr 2013 21:57:17 GMT


Michael McCandless commented on LUCENE-4935:

+1 for the 2nd approach.
> CustomScoreQuery has broken boosting
> ------------------------------------
>                 Key: LUCENE-4935
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/query/scoring
>            Reporter: Robert Muir
>         Attachments: LUCENE-4935.patch, LUCENE-4935.patch
> CustomScoreQuery wrongly applies boost^2 instead of boost.
> It wrongly incorporates its boost into the normalization factor passed down to subquery
(like booleanquery does) and *also* multiplies it directly in its scorer.
> The only reason the test passes today is because it compares raw score magnitudes when
querynorm is on, which normalizes this away.
> Changing the test to use newSearcher() demonstrates the brokenness.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message