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

   Jumping in as this interests me, sorry if I get some points wrong!
   
   It seems that `PointInSetIncludingScoreQuery` creates also a bitset from the 
scan of `PointValues` in `createWeight`.
   
   
https://github.com/apache/lucene/blob/085a0ae054b1df9623afce47e28b65c52184ce48/lucene/join/src/java/org/apache/lucene/search/join/PointInSetIncludingScoreQuery.java#L203-L205
   
   Several queries like `LatLonPointDistanceQuery` also access `PointValues` 
but do not create upfront a bitset (as far as I can tell).
   
   
https://github.com/apache/lucene/blob/085a0ae054b1df9623afce47e28b65c52184ce48/lucene/core/src/java/org/apache/lucene/document/LatLonPointDistanceQuery.java#L138-L139
   
   However, it looks like a bitset for the whole segment is computed 
nonetheless.
   
   
https://github.com/apache/lucene/blob/085a0ae054b1df9623afce47e28b65c52184ce48/lucene/core/src/java/org/apache/lucene/document/LatLonPointDistanceQuery.java#L153-L156


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