[
https://issues.apache.org/jira/browse/LUCENE-8732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16803077#comment-16803077
]
ASF subversion and git services commented on LUCENE-8732:
---------------------------------------------------------
Commit 7e834516104a2c3f68722ef08cc867a492119667 in lucene-solr's branch
refs/heads/master from Jim Ferenczi
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=7e83451 ]
LUCENE-8732: ConstantScoreQuery can now early terminate the query if the
minimum score is greater than the constant score and total hits are not
requested
> Allow ConstantScoreQuery to skip counting hits
> ----------------------------------------------
>
> Key: LUCENE-8732
> URL: https://issues.apache.org/jira/browse/LUCENE-8732
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Jim Ferenczi
> Priority: Minor
> Attachments: LUCENE-8732.patch
>
>
> We already have a ConstantScoreScorer that knows how to early terminate the
> collection but the ConstantScoreQuery uses a private scorer that doesn't take
> advantage of setMinCompetitiveScore. This issue is about reusing the
> ConstantScoreScorer in the ConstantScoreQuery in order to early terminate
> queries that don't need to compute the total number of hits.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]