[ https://issues.apache.org/jira/browse/LUCENE-8105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-8105: --------------------------------- Attachment: LUCENE-8105.patch Here is a patch that implements the idea and also makes this scorer propagate two-phase iteration so that it is faster eg. in the case that the optional clause is a phrase. > ReqOptSumScorer could leverage the setMinCompetitiveScore API > ------------------------------------------------------------- > > Key: LUCENE-8105 > URL: https://issues.apache.org/jira/browse/LUCENE-8105 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Adrien Grand > Priority: Minor > Fix For: master (8.0) > > Attachments: LUCENE-8105.patch > > > If the minimum competitive score is greater than the maximum score of the > required clause, we could turn the iterator into a conjunction. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org