Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
There was an error while loading. Please reload this page.
Something that was very useful in the C++ version was to let the user manually provide a search_k limit. Cf
https://github.com/spotify/annoy/blob/master/src/annoylib.h#L541
https://github.com/spotify/annoy-java/blob/master/src/main/java/com/spotify/annoy/ANNIndex.java#L147
That way you can ask for the 10 nearest neighbors and tell Annoy to inspect 100k items etc