mocobeta commented on code in PR #872: URL: https://github.com/apache/lucene/pull/872#discussion_r870023604
########## 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: minor: `numNodesOnLevel0` might be clearer at the first glance (and consistent with other parts)? -- 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