Hello, In the bitset cache implementations (in LRUQueryCache), I am wondering why livedocs aren't passed to the `score` methods used to create bitsets. See [0] for an example. My understanding would be that passing livedocs would benefit the creation of the cached bitset:
- faster search since some docs are deleted - potentially smaller memory usage, e.g., with the roaring bitset - potentially smaller cost of the FixedBitset I have checked the mailing list archive, as well as the commit history, but found no explanation. Could you explain the reason why livedocs isn't passed to the `score` method ? Best, [0] https://github.com/apache/lucene/blob/7fe43de9f6678b41d8894258e1f99a9f38e87689/lucene/core/src/java/org/apache/lucene/search/LRUQueryCache.java#L539-L553 -- Campinas Stephane
signature.asc
Description: PGP signature