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

bug fix: reconstruct failing due to key not found #177

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

Thejas-bhat
Copy link
Member

@Thejas-bhat Thejas-bhat commented Nov 10, 2023

  • there are intermittent errors occuring while reading an index/reconstructing the vectors from it using a key.

Error in Index *faiss::read_index(IOReader *, int) at /Users/thejasbhat/fts/vector_search/faiss/faiss/impl/index_read.cpp:1028: Index type 0x00000000 ("\x00\x00\x00\x00") not recognized

Error in virtual void faiss::Index::reconstruct_batch(idx_t, const idx_t *, float *) const at /Users/thejasbhat/fts/vector_search/faiss/faiss/Index.cpp:70: Error in virtual void faiss::IndexIDMap2Template<faiss::Index>::reconstruct(idx_t, typename IndexT::component_t *) const [IndexT = faiss::Index] at /Users/thejasbhat/fts/vector_search/faiss/faiss/IndexIDMap.cpp:236: key 7274484443284373504 not found

  • refactoring the index.Close() calls so that the memory cleanup is more responsible.
  • work in progress

@abhinavdangeti abhinavdangeti marked this pull request as ready for review November 10, 2023 14:59
@abhinavdangeti abhinavdangeti merged commit d7e8f3a into blevesearch:master Nov 10, 2023
6 checks passed
moshaad7 pushed a commit that referenced this pull request Sep 12, 2024
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

Successfully merging this pull request may close these issues.

2 participants