Adrien Grand created LUCENE-10640:
-------------------------------------
Summary: Can TimeLimitingBulkScorer exponentially grow the window
size?
Key: LUCENE-10640
URL: https://issues.apache.org/jira/browse/LUCENE-10640
Project: Lucene - Core
Issue Type: Improvement
Reporter: Adrien Grand
{{TimeLimitingBulkScorer}} scores 100 documents at a time. Unfortunately, bulk
scorers have non-null overhead for {{BulkScorer#score}} since they need to set
the scorer, figure out how to combine the Scorer with the competitive iterator
of the collector, etc. Larger windows of doc IDs would help better amortize
such costs.
Could we grow the window of scored doc IDs exponentially, maybe with guarantees
such as making sure that the new window is at most 50% of doc IDs that have
been scored so far so that this exponential growth could only exceed the
configured timeout by 50%?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]