facebookresearch / faiss

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

HNSW not support remove_ids? "IDMap2,HNSW32,Flat" also not support remove_ids? #3339

Closed lgbest123 closed 4 months ago

lgbest123 commented 7 months ago

Summary

Platform

OS:

Faiss version:

Installed from:

Faiss compilation options:

Running on:

Interface:

Reproduction instructions

mdouze commented 7 months ago

No, HNSW does not support remove_ids. It is non-trivial to implement because the graph has to be re-linked after some nodes are removed.