kkewwei opened a new pull request, #16757: URL: https://github.com/apache/lucene/pull/16757
### Description `LRUQueryCache` currently consumes `DocIdStream` through a temporary `int[]` buffer and sets matching documents individually. For `BitSetDocIdStream`, this unnecessarily converts a bit set into doc IDs and then back into another bit set. This change adds a package-private `BitSetDocIdStream#orInto` method that merges the remaining documents directly into the cache's `FixedBitSet` using `FixedBitSet.orRange`. we also retain the existing per-document fallback for other `DocIdStream` implementations, it seems that normal collection paths never reach this per-doc. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
