You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jim Ferenczi (JIRA)" <ji...@apache.org> on 2018/02/21 10:43:00 UTC

[jira] [Commented] (LUCENE-8182) BoostingQuery applies the wrong boost to the query score

    [ https://issues.apache.org/jira/browse/LUCENE-8182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16371210#comment-16371210 ] 

Jim Ferenczi commented on LUCENE-8182:
--------------------------------------

I attached a patch that applies the correct boost and adds a simple test.

> BoostingQuery applies the wrong boost to the query score
> --------------------------------------------------------
>
>                 Key: LUCENE-8182
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8182
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 7.0, 7.1, 7.2
>            Reporter: Jim Ferenczi
>            Priority: Major
>         Attachments: LUCENE-8182.patch
>
>
> BoostingQuery applies the parent query boost instead of the boost set on the query due to a name clash in the anonymous class created by the createWeight method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org