msokolov commented on code in PR #13561: URL: https://github.com/apache/lucene/pull/13561#discussion_r1673111785
########## lucene/core/src/java/org/apache/lucene/util/hnsw/HnswConcurrentMergeBuilder.java: ########## @@ -84,7 +88,8 @@ public OnHeapHnswGraph build(int maxOrd) throws IOException { }); } taskExecutor.invokeAll(futures); - return workers[0].getGraph(); + frozen = true; + return workers[0].getCompletedGraph(); Review Comment: I added `frozen=true` to `getCompletedGraph` so it has the same semantics as `HnswGraphBuilder` -- 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