mayya-sharipova commented on code in PR #872: URL: https://github.com/apache/lucene/pull/872#discussion_r869226440
########## lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraphBuilder.java: ########## @@ -43,7 +43,8 @@ public final class HnswGraphBuilder { /** Random seed for level generation; public to expose for testing * */ public static long randSeed = DEFAULT_RAND_SEED; - private final int maxConn; + private final int M; // max number of connections on upper layers Review Comment: @mocobeta Thanks for checking, indeed it is good to rename `maxConn` to `M` parameter in the paper, and `maxConn` is ambiguous (as we have two values for `maxConn` now: for upper layers and a lower layer) -- 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