# microsoft/DiskANN

A vector indexing library to bring fast, fresh and filtered search to your database

Repository: https://github.com/microsoft/DiskANN
Canonical: https://ross.abutalabs.com/products/diskann
Language: Rust
License: MIT
License Family: permissive
Last push: 2026-08-26T20:09:18+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 2267, "days_push": 7, "days_rel": 12, "gap_med": 7, "n_releases_24m": 28}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1913, forks 446 (observed 2026-08-28T04:05:53.461727+00:00)

## What it is
DiskANN3 is a composable Rust library for scalable, accurate vector indexing and nearest-neighbor search, designed to be embedded into databases via a DataProvider trait. It supports real-time updates, filtered and diversity-aware search, multiple quantizers, and memory tiers from in-memory to disk-based providers.

## Use cases
- add vector similarity search to my database
- billion-scale nearest neighbor search on a single node
- fast filtered vector search with real-time updates
- embed an ANN index in a key-value store
- benchmark vector search throughput and recall
- larger-than-memory vector index on disk

## When to choose
- you need scalable vector search embedded in your own storage engine or database
- you need fresh real-time updates without index rebuilds
- you need disk-based indexes for datasets larger than memory
- you want high throughput and recall compared to HNSWlib or managed vector DBs

## When to avoid
- you just want a turnkey managed vector database with an API out of the box
- your project is not in Rust or C++ and you cannot implement the DataProvider trait
- you need non-x86/aarch64 SIMD support

## Facets
- artifact type: library
- maturity: active
- function: vector-database, search-engine, database
- domain: databases, machine-learning, developer-tools
- platform: rust, windows, cpp
- tags: ann, nearest-neighbor-search, vector-index, diskann, hnsw-alternative, quantization, similarity-search, search, linux, macos

## Member repositories
- microsoft/DiskANN (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:53.461727+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:10:28.997441+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/DiskANN (fetched 2026-08-28T04:05:53.461727+00:00, sha e91aebca6a85)
  - registry_crates: https://crates.io/api/v1/crates/diskann (fetched 2026-08-29T10:49:40.229580+00:00, sha 3dc7e60dde2b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
