mayya-sharipova commented on code in PR #872: URL: https://github.com/apache/lucene/pull/872#discussion_r870464973
########## lucene/core/src/java/org/apache/lucene/codecs/lucene91/Lucene91HnswVectorsReader.java: ########## @@ -377,10 +377,13 @@ private static class FieldEntry { for (int level = 0; level < numLevels; level++) { if (level == 0) { graphOffsetsByLevel[level] = 0; + } else if (level == 1) { + int numNodesOn0Level = size; Review Comment: Good suggestion! Addressed in d16168f77cbeae581a093daa53113bf897ab8e31 -- 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