Pulkitg64 commented on code in PR #15470:
URL: https://github.com/apache/lucene/pull/15470#discussion_r2584993466
##########
lucene/core/src/java/org/apache/lucene/util/hnsw/InitializedHnswGraphBuilder.java:
##########
@@ -441,7 +441,7 @@ private void addConnections(int node, int targetLevel,
UpdateableRandomVectorSco
popToScratch(candidates, scratchArray);
// Add diverse neighbors and establish bidirectional connections
- addDiverseNeighbors(targetLevel, node, scratchArray, scorer, true);
Review Comment:
I think we can keep `addDiverseNeighbors` here? This is also used during
addition of new node to a level (rebalancing step).
--
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]