javanna commented on issue #13745:
URL: https://github.com/apache/lucene/issues/13745#issuecomment-3062037144

   For reference, this is the ahead of time work that currently gets duplicated 
in PointRangeQuery across partitions of the same segments: 
https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/search/PointRangeQuery.java#L313
 . We create a bitset of the size of the entire segment. We should look into 
doing this once per segment and reusing it across partitions of the same 
segment instead.
   
   Something similar happens in `PointInSetQuery` too, when pulling the scorer 
from the scorer supplier.


-- 
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]

Reply via email to