You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/06/07 14:57:00 UTC

[jira] [Commented] (LUCENE-8143) Remove SpanBoostQuery

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

ASF subversion and git services commented on LUCENE-8143:
---------------------------------------------------------

Commit dbb4c265d5e0032a2832b7e5b67bfa8b560cbdcc in lucene's branch refs/heads/main from Alan Woodward
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=dbb4c26 ]

LUCENE-8143: Remove no-op SpanBoostQuery (#155)

Boosts are ignored on inner span queries, and top-level boosts can
be applied by using a normal BoostQuery, so SpanBoostQuery
itself is redundant and trappy. This commit removes it entirely.

> Remove SpanBoostQuery
> ---------------------
>
>                 Key: LUCENE-8143
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8143
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Assignee: Alan Woodward
>            Priority: Minor
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> I initially added it so that span queries could still be boosted, but this was actually a mistake: boosts are ignored on inner span queries, only the boost of the top-level span query, the one that performs scoring, is not ignored.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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