msokolov opened a new issue, #15438: URL: https://github.com/apache/lucene/issues/15438
### Description If you create an index and merge it, even under very controlled conditions, `MergingHnswGraphBuilder` will produce different graphs on subsequent runs. I think it's because of the iteration order of the `IntHashSet` keys which it relies on. This is a problem for writing tests where you want to assert that the correct graph is being produced. I'm not sure what can be done -- perhaps we can fetch all the node ids and sort them rather than relying on the hashset iteration order ### Version and environment details _No response_ -- 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]
