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