facebookresearch / faiss

A library for efficient similarity search and clustering of dense vectors.
https://faiss.ai
MIT License
31.57k stars 3.65k forks source link

Moved add_sa_codes, sa_code_size to Index, IndexBinary base classes #3989

Closed asadoughi closed 3 weeks ago

asadoughi commented 4 weeks ago

Summary: Moved add_sa_codes, sa_code_size to Index, IndexBinary base classes from IndexIVF to support adding coded vectors with ids using IDMap2,PQ

For an alternative approach, see previous attempt with merge_ids and merge_codes: D64941798

Differential Revision: D64972587

facebook-github-bot commented 4 weeks ago

This pull request was exported from Phabricator. Differential Revision: D64972587

facebook-github-bot commented 3 weeks ago

This pull request was exported from Phabricator. Differential Revision: D64972587

facebook-github-bot commented 3 weeks ago

This pull request has been merged in facebookresearch/faiss@acaa01f32df0db75de2a519b1dad8e7f56c53280.