sonatype-lift[bot] commented on a change in pull request #207: URL: https://github.com/apache/lucene/pull/207#discussion_r666280195
########## File path: lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90HnswVectorsReader.java ########## @@ -247,12 +246,12 @@ public TopDocs search(String field, float[] target, int k, int fanout) throws IO return null; } - OffHeapVectorValues vectorValues = getOffHeapVectorValues(fieldEntry); + OffHeapNnVectors nnVectors = getOffHeapNnVectors(fieldEntry); // use a seed that is fixed for the index so we get reproducible results for the same query final Random random = new Random(checksumSeed); Review comment: *PREDICTABLE_RANDOM:* This random generator (java.util.Random) is predictable [(details)](https://find-sec-bugs.github.io/bugs.htm#PREDICTABLE_RANDOM) (at-me [in a reply](https://help.sonatype.com/lift) with `help` or `ignore`) -- 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