FAISS (Facebook AI Similarity Search) is a C++/Python library for efficient similarity search, widely used in research. ANNex is a Rust-native engine that adds payload filtering, hybrid dense-sparse retrieval, snapshots, and WAL on top of HNSW.
| ANNex | FAISS | |
|---|---|---|
| Dense vector search | ✓ | ✓ |
| Sparse / BM25 | ✓ | ✗ |
| Hybrid RRF | ✓ | ✗ |
| Multivector / ColBERT | ✓ | ✗ |
| Payload filters | ✓ | ✗ |
| Embedded (no server) | ✓ | ✓ |
| HTTP server | ✓ | ✗ |
| Rust-native library | ✓ | ✗ |
| Python bindings | ✓ | ✓ |
| Snapshots + WAL | ✓ | ✗ |
NYT256 · 290K docs · 256-D angular · Apple M2 · interleaved · offset=4000 · ANNex v0.1.0 · FAISS 1.15.1
| System | ef | Recall | p50 ms |
|---|---|---|---|
| annex_screen | 32 | 0.864 | 0.252 |
| annex_screen | 128 | 0.918 | 0.580 |
| annex_screen | 512 | 0.961 | 2.205 |
| faiss_hnsw16 | 128 | 0.868 | 0.356 |
| faiss_hnsw16 | 512 | 0.925 | 1.457 |
| faiss_hnsw32 | 128 | 0.904 | 0.627 |
| faiss_hnsw32 | 512 | 0.957 | 2.489 |
FAISS HNSW32 is competitive; ANNex leads at matched recall below ~95%. Full data: benchmarks →