facebookresearch / faiss

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

IDSelector example use cases demo or notebook #3778

Open asadoughi opened 3 months ago

asadoughi commented 3 months ago

Summary

While the current wiki accurately describes IDSelector and its subclasses behavior there currently aren't any examples of how to use it with a high-level application such as using it for (i) vector deletion through a filtering & compaction pattern or (ii) using it for metadata filtering in recommendation systems.