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

   > * 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
   
   It is trivial:
   ```java
   mmapDir.setPreload(name -> name.endsWith(".vec"));
   ```
   
   So no change needed in the API or behaviour of Lucene.


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