You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2018/12/12 15:30:00 UTC
[jira] [Created] (LUCENE-8607) Allow MatchAllDocsQuery to skip
counting hits
Alan Woodward created LUCENE-8607:
-------------------------------------
Summary: 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
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org