jmazanec15 commented on issue #11354: URL: https://github.com/apache/lucene/issues/11354#issuecomment-1239660422
Right, I think the scores are required when checking if an already added node becomes a new node's neighbor and we [check](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraphBuilder.java#L231-L240) if the new node should be added as an existing node's neighbor. I was thinking about potentially waiting to recompute the neighbors distances until they are needed in the line above. Also, I found some issues with my original implementation. They should be fixed. Ill post results from experiments soon. -- 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