kaivalnp commented on PR #15011:
URL: https://github.com/apache/lucene/pull/15011#issuecomment-3407645119

   > We will also need to move the decision between approximate and exact to 
the codec
   
   @jpountz do you mean moving the 
[`exactSearch`](https://github.com/apache/lucene/blob/8e8e37d9e94c290cf8d02e9f318e601baedf28bc/lucene/core/src/java/org/apache/lucene/search/AbstractKnnVectorQuery.java#L302)
 functionality down to the codec?
   
   If so, I think it could be useful in optimizations like #12820 too, where 
the main overhead is passing / re-creating information from ordinal-space to 
docid-space (i.e. the "visited" `BitSet` in our case) -- which could be avoided 
if exact search was done in ordinal-space..


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