rmuir commented on issue #13551:
URL: https://github.com/apache/lucene/issues/13551#issuecomment-2214496576

   > It's not easy to do -- you wouldn't know up front that the application 
will do KNN searching at all. And, maybe only certain vectors in the `.vec` 
will ever be accessed and so you need to pay that long random access price to 
find and cache just those ones.
   
   I'm trying to understand this sentence:
   * it should be a one-liner using `setPreload` to preload "*.vec" if we 
wanted to do it either from FSDirectory.open or by default in MMapDirectory
   * if the application isn't doing KNN searching then they won't have .vec? I 
struggle to imagine someone indexing a ton of "extra" vectors that isnt "using" 
them and hasn't noticed big performance impact


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