ChrisHegarty commented on code in PR #14604:
URL: https://github.com/apache/lucene/pull/14604#discussion_r2081913839


##########
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:
   @uschindler correct (my comments are out of date). Your words are better 
than my clumsy ones above. Thank you. 



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