msokolov commented on code in PR #13660:
URL: https://github.com/apache/lucene/pull/13660#discussion_r1718901258


##########
lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraphBuilder.java:
##########
@@ -456,6 +456,9 @@ private boolean connectComponents(int level) throws 
IOException {
         if (c != c0) {
           beam.clear();
           eps[0] = c0.start();
+          if (c.start() == NO_MORE_DOCS) {

Review Comment:
   nit: we could move this to the beginning of the block



-- 
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

Reply via email to