jeho-rpls commented on code in PR #16620:
URL: https://github.com/apache/lucene/pull/16620#discussion_r3929789281
##########
lucene/core/src/java/org/apache/lucene/util/hnsw/InitializedHnswGraphBuilder.java:
##########
@@ -108,6 +109,9 @@ public final class InitializedHnswGraphBuilder extends
HnswGraphBuilder {
* tracking)
* @param totalNumberOfVectors the total number of vectors in the merged
graph (used for
* pre-allocation)
+ * @param abortCheck optional check invoked before every node insertion
during graph construction;
Review Comment:
Nit: I think "before every node insertion" is the insertion-phase wording.
Here it looks like the check is polled while copying, repairing and rebalancing
the base graph. Same on `initGraph` below.
--
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]