jimczi commented on code in PR #12529: URL: https://github.com/apache/lucene/pull/12529#discussion_r1310862426
########## lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraphBuilder.java: ########## @@ -231,30 +184,34 @@ private void initializeFromGraph( } } - private void addVectors(RandomAccessVectorValues<T> vectorsToAdd) throws IOException { + /** Set info-stream to output debugging information * */ + public void setInfoStream(InfoStream infoStream) { + this.infoStream = infoStream; + } + + public OnHeapHnswGraph getGraph() { + return hnsw; + } + + private void addVectors(RandomAccessVectorValues<?> vectorsToAdd) throws IOException { Review Comment: +1, I pushed a change -- 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