[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to