LantaoJin commented on code in PR #16794:
URL: https://github.com/apache/lucene/pull/16794#discussion_r4236466292


##########
lucene/core/src/java/org/apache/lucene/util/hnsw/HnswConcurrentMergeBuilder.java:
##########
@@ -132,6 +200,11 @@ public OnHeapHnswGraph build(int maxOrd) throws 
IOException {
                 (rebalanceEndNs - rebalanceStartNs) / 1_000_000.0));
       }
     }
+    // join the other graphs into the base graph once it is repaired, as 
MergingHnswGraphBuilder
+    // does after InitializedHnswGraphBuilder.initGraph
+    if (graphs.length > 0) {
+      joinGraphs(maxOrd, cumulativeWorkTimeNs);

Review Comment:
   done



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to