Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support annoy index loading from binary index data #629

Open
akg9023 opened this issue Jan 27, 2023 · 0 comments
Open

Support annoy index loading from binary index data #629

akg9023 opened this issue Jan 27, 2023 · 0 comments

Comments

@akg9023
Copy link

akg9023 commented Jan 27, 2023

Many times, I have felt a need to save the index file in some database and load it directly from there. Since, the file is already in memory, it makes less sense to store the index data in a temporary file and then mmap file to AnnoyIndex.

I feel it would be great if we can have an interface for supporting load() from binary index data as well.

The other option is to use some kind of filestore, but keeping a filestore just for indexes becomes an overhead.
I would love to hear any other options we could use/include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant