{"id":30180887,"url":"https://github.com/infinilabs/diskann","last_synced_at":"2025-08-12T08:05:56.986Z","repository":{"id":301319516,"uuid":"1008151078","full_name":"infinilabs/diskann","owner":"infinilabs","description":"DiskANN in Pure Rust — Built for Large-Scale Approximate Nearest Neighbor Search.","archived":false,"fork":false,"pushed_at":"2025-07-28T06:20:39.000Z","size":9457,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-28T08:25:01.682Z","etag":null,"topics":["diskann","pizza","rust","vector-search"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infinilabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-25T05:37:52.000Z","updated_at":"2025-07-28T06:20:42.000Z","dependencies_parsed_at":"2025-07-21T06:29:12.038Z","dependency_job_id":null,"html_url":"https://github.com/infinilabs/diskann","commit_stats":null,"previous_names":["infinilabs/ms-diskann-rust","infinilabs/diskann"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/infinilabs/diskann","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinilabs%2Fdiskann","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinilabs%2Fdiskann/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinilabs%2Fdiskann/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinilabs%2Fdiskann/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infinilabs","download_url":"https://codeload.github.com/infinilabs/diskann/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinilabs%2Fdiskann/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270024697,"owners_count":24514054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diskann","pizza","rust","vector-search"],"created_at":"2025-08-12T08:05:48.093Z","updated_at":"2025-08-12T08:05:56.963Z","avatar_url":"https://github.com/infinilabs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DiskANN Paper](https://img.shields.io/badge/Paper-NeurIPS%3A_DiskANN-blue)](https://papers.nips.cc/paper/9527-rand-nsg-fast-accurate-billion-point-nearest-neighbor-search-on-a-single-node.pdf)\r\n[![DiskANN Paper](https://img.shields.io/badge/Paper-Arxiv%3A_Fresh--DiskANN-blue)](https://arxiv.org/abs/2105.09613)\r\n[![DiskANN Paper](https://img.shields.io/badge/Paper-Filtered--DiskANN-blue)](https://harsha-simhadri.org/pubs/Filtered-DiskANN23.pdf)\r\n\r\n# DiskANN in Rust\r\n\r\nDiskANN is a suite of scalable, accurate, cost-effective approximate nearest neighbor (ANN) search algorithms for large-scale vector search. \r\nIt uses a graph-based index (Vamana) to manage very large datasets with high recall and low latency. \r\nFor example, DiskANN can index, store, and query a billion-point dataset on a single machine with 64GB RAM and an SSD, achieving high recall and low query latency.  \r\n\r\nThe INFINI Labs DiskANN project provides a pure Rust implementation of these ideas. This crate was originally forked from Microsoft’s partial Rust port (the DiskANN/rust folder) and extended to be complete. \r\nIn particular, it implements the previously-missing disk-based query functionality, enabling full end-to-end DiskANN indexing and search in Rust.\r\n\r\n# Features\r\n\r\nKey features:\r\n- Pure Rust implementation – no C/C++ dependencies; leverages Rust’s memory safety and concurrency.\r\n- Disk-based indexing and querying – supports very large datasets that do not fit in memory.\r\n- High recall and low latency – optimized for fast approximate nearest neighbor search.\r\n- Parallelism – leverages Rust’s concurrency features for efficient indexing and querying.\r\n\r\n\r\n# Installation\r\n\r\nAdd the diskann crate to your project by including it in Cargo.toml. For example:\r\n```\r\n[dependencies]\r\ndiskann = \"0.1\"\r\n```\r\n\r\n# Usage\r\n```rust\r\n```\r\n\r\n# Contributing\r\n\r\nContributions and bug reports are welcome! Please open issues or pull requests on the GitHub repository. We follow the standard Rust community conventions.\r\n\r\n# Notice\r\n\r\nThe code is based on ideas from the [DiskANN](https://papers.nips.cc/paper/9527-rand-nsg-fast-accurate-billion-point-nearest-neighbor-search-on-a-single-node.pdf), [Fresh-DiskANN](https://arxiv.org/abs/2105.09613) and the [Filtered-DiskANN](https://harsha-simhadri.org/pubs/Filtered-DiskANN23.pdf) papers with further improvements.\r\n\r\nThis project forked off from [Microsoft/DiskANN](https://github.com/microsoft/DiskANN/tree/main/rust) and [code for NSG](https://github.com/ZJULearning/nsg) .\r\n\r\n# License\r\n\r\nThis project is released under the MIT License. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinilabs%2Fdiskann","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinilabs%2Fdiskann","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinilabs%2Fdiskann/lists"}