You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2022/04/26 15:05:00 UTC

[jira] [Commented] (LUCENE-10537) DisjunctionMaxWeight could be rewrite to BooleanWeight if score is disable

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

Adrien Grand commented on LUCENE-10537:
---------------------------------------

On previous issues, we discussed that it's a bit of a degenerate case to create a DisjunctionMaxQuery in the first place if scores are not needed, since the point of this query is to customize scoring compared to a BooleanQuery, and we did not try to optimize for the non-scoring case.

> DisjunctionMaxWeight could be rewrite to BooleanWeight if score is disable
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-10537
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10537
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Lu Xugang
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> If scores are not needed, could we let BooleanWeight deal with optimizing things?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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