Expand description
Index builder for DiskANN
Implements the greedy best-first algorithm for constructing Vamana graphs. The builder incrementally adds vectors to the graph, maintaining connectivity and using robust pruning to select high-quality neighbors.
§Build Algorithm
- Add vectors incrementally
- For each vector, search for nearest neighbors using beam search
- Prune neighbors using robust pruning strategy
- Update reverse edges (make graph bidirectional)
- Select entry points (medoids)
§References
- DiskANN: Fast Accurate Billion-point Nearest Neighbor Search on a Single Node (Jayaram Subramanya et al., NeurIPS 2019)
Structs§
- Disk
AnnBuild Stats - Index builder statistics
- Disk
AnnBuilder - Index builder for DiskANN