mayya-sharipova commented on a change in pull request #416: URL: https://github.com/apache/lucene/pull/416#discussion_r751673717
########## File path: lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraph.java ########## @@ -99,32 +121,72 @@ public static NeighborQueue search( Bits acceptOrds, SplittableRandom random) throws IOException { + int size = graphValues.size(); + int boundedNumSeed = Math.max(topK, Math.min(numSeed, 2 * size)); + NeighborQueue results; + + int[] eps = new int[] {graphValues.entryNode()}; + for (int level = graphValues.numLevels() - 1; level >= 1; level--) { + results = + HnswGraph.searchLevel( Review comment: Addressed in 2961b1cdffb7df2744084712178757fe7e65257c -- 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