uschindler commented on code in PR #14604: URL: https://github.com/apache/lucene/pull/14604#discussion_r2081775573
########## lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsReader.java: ########## @@ -110,7 +111,10 @@ public Lucene99HnswVectorsReader(SegmentReadState state, FlatVectorsReader flatV Lucene99HnswVectorsFormat.VECTOR_INDEX_EXTENSION, Lucene99HnswVectorsFormat.VECTOR_INDEX_CODEC_NAME, state.context.withHints( - FileTypeHint.DATA, FileDataHint.KNN_VECTORS, DataAccessHint.RANDOM)); + FileTypeHint.DATA, + FileDataHint.KNN_VECTORS, + DataAccessHint.RANDOM, + PreloadHint.INSTANCE)); Review Comment: that's not an override, but there is a new constant for the already preexisting mechanism: `mmapdir.setPreload(PRELOAD_HINT)` -- 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