Mapping gets out of sync when deleting an ID from IVF + PQ with an IndexIDMap2 wrapper #4640
Replies: 2 comments
-
|
We have now updated to version 1.12.0 but the error still occurs. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Since IndexIVFFlat and IndexIVFPQ already have add_with_ids() and remove_ids, there is no need to wrap with IndexIDMap2. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In C++17, with FAISS 1.11.0, environment Raspberry Pi4, I have the following schema:
1. Step to reproduce
You can see the pictures to visualize what I mean better. I am new to this field so the terminology used may not be accurate.
-> I am suspecting that after deleting ID 1, the IDs behind have been pushed up, leading to this mapping error.
The removal operation shifts the ids of vectors above the removed vector id.
2. Config
3. Source code
a. Create Index
b. Add_with_ids
c. Remove_ids
This is the test result:

Beta Was this translation helpful? Give feedback.
All reactions