DiskANN v0.57.0
Breaking Changes
Flat search visitors are now query-aware (#1359)
flat::FlatIndexhas been removed. The search entry point is now the free functionflat::knn_search, and theDistancesUnorderedvisitor is constructed per-query rather than reused. TheElementRef,QueryComputer, andQueryComputerErrorassociated types and the visitor GAT have also been removed.DistancesUnorderednow yields(id, distance)pairs directly.
Migration: Callers of the old FlatIndex/visitor API should:
- Drop
FlatIndexand construct yourDistancesUnorderedvisitor directly for the query being searched. - Replace calls into the removed wrapper with
flat::knn_search(&mut visitor, k, processor, query, &mut output). - Remove any
ElementRef/QueryComputerimplementation, fuse scanning and distance computation directly in yourDistancesUnordered::distances_unorderedimplementation.
All Changes
- Make
UnalignedSliceSend and Sync. by Mark Hildebrand (@hildebrandmw) in #1348 - Bump actions/checkout from 4.4.0 to 7.0.1 in the github-actions group by Dependabot (@dependabot)[bot] in #1344
- Deduplicate virtual start point edges during disk serialization by juchen-ms (@partychen) in #1350
- Fix alpha pruning documentation by xinyuwen2 in #1351
- Bump the github-actions group with 4 updates by Dependabot (@dependabot)[bot] in #1356
- Add Neon Inner product u4*u4 kernel by pfoxARM in #1353
- Strengthen arguments to
robust_prune. by Mark Hildebrand (@hildebrandmw) in #1358 - Allow inspection of the paged search accessor. by Mark Hildebrand (@hildebrandmw) in #1364
- Make flat search visitors query-aware by juchen-ms (@partychen) in #1359
- Add Neon inner-product kernel for USlice<2> with spherical wiring by pfoxARM in #1363
New Contributors
Full Changelog: v0.56.0...v0.57.0