Skip to content
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.

Support search_k #3

Description

@erikbern

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions