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

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

Commit fa025e1f78786c57130399acb61fdd81092835f6 in lucene-solr's branch 
refs/heads/master from [~romseygeek]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=fa025e1 ]

LUCENE-8607: MatchAllDocsQuery can skip counting hits


> Allow MatchAllDocsQuery to skip counting hits
> ---------------------------------------------
>
>                 Key: LUCENE-8607
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8607
>             Project: Lucene - Core
>          Issue Type: Task
>    Affects Versions: master (8.0)
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>             Fix For: master (8.0)
>
>         Attachments: LUCENE-8607.patch, LUCENE-8607.patch
>
>
> MatchAllDocsQuery currently uses a private bulk scorer with no 
> specialisations for setMinCompetitiveScore().  We've seen what looks to be 
> something like a halving of the performance of MatchAllDocsQuery in 
> elasticsearch benchmarks running on 8.0 snapshots, and it looks as though 
> this is because it's paying the price of keeping track of competitive scores, 
> but not actually making use of the new infrastructure.  We should modify the 
> bulk scorer to early-terminate if setMinCompetitiveScore() is called with a 
> value greater than the query's boost.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to