Closed nur1popcorn closed 3 years ago
Thanks for the PR! I think that mostly makes sense.
The one thing I don't like about this, is that we would silently swallow checked exceptions and errors this way
How about wrapping the exception in a custom runtime exception that extends from com.github.jelmerk.knn.hnsw.IndexException
and throwing that instead ?
Alright I implemented your suggestions tell me if you like the name of the exception.
how about UncategorizedIndexException instead
Ok do you think there is anything else that needs to be changed or is it ready to be merged into the master branch ?
nope, all good. thanks for the contribution!
This patch fixes the deadlock issue referenced in #32