msokolov commented on issue #12627: URL: https://github.com/apache/lucene/issues/12627#issuecomment-2221207888
I'd like to take a stab at the "second pass" idea for patching up disconnected graph components. As a first step I think we ought to add state to the `HnswGraphBuilder` in order to clearly indicate that all nodes have been added and we are now engaged in finalizing the graph. My plan is to add a `getCompletedHnswGraph()` method that can be called when flushing, leaving the existing `getHnswGraph()` method that allows callers to observe the graph during construction. -- 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