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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to