nmslib/nmslib
Non-Metric Space Library (NMSLIB): An efficient similarity search library and a toolkit for evaluation of k-NN methods for generic non-metric spaces. observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 77
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4802
- days_rel: n/a
- days_push: 142
- n_releases_24m: 0
Adoption not part of the score
3588 stars · 461 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
NMSLIB is a cross-platform C++ similarity search library with Python bindings for efficient k-nearest-neighbor search in generic and non-metric spaces. It also serves as a toolkit for evaluating approximate k-NN methods and includes the original HNSW implementation.
Use cases
- find nearest neighbors in high-dimensional vector embeddings
- approximate k-NN search for non-metric distance functions
- benchmark similarity search algorithms
- build vector search for semantic search or recommendations
- search with custom distance metrics in C++ or Python
When to choose
- you need fast approximate nearest-neighbor search with many distance/space options
- you need non-metric similarity search support
- you want to benchmark k-NN methods
- you want a dependency-free C++ core with Python bindings
When to avoid
- you only need plain cosine/L2 HNSW and prefer a simpler header-only library (use hnswlib)
- you need a managed vector database with filtering and persistence
- you need actively developed features or frequent updates
Facets
library · maturity maintenance
search-engine benchmarking machine-learning machine-learning databases cpp python windows cross-platform knn-search similarity-search ann non-metric-spaces hnsw vector-search nearest-neighbor algorithms search linux macos
1 source
- readme: https://github.com/nmslib/nmslib · fetched 2026-08-28 · 49119d5651b9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nmslib/nmslib | main | 57 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem