Skip to main content

diskann_benchmark_core/streaming/graph/
mod.rs

1/*
2 * Copyright (c) Microsoft Corporation.
3 * Licensed under the MIT license.
4 */
5
6//! Built-in methods for invoking streaming operations on a [`diskann::graph::DiskANNIndex`].
7//!
8//! Unlike other components defined in [`crate::build::graph`] or [`crate::search::graph`],
9//! these components are intended to be used as building blocks for implementing
10//! [`crate::streaming::Stream`]. The key difference is that these components take an
11//! argument that is [`crate::build::ids::ToIdSized`] to describe the points to be processed,
12//! rather than processing a collection of points in a dataset.
13//!
14//! That said, these components implement the [`crate::build::Build`] trait and thus reuse
15//! the infrastructure defined in [`crate::build`].
16
17pub mod drop_deleted;
18pub mod inplace_delete;
19
20pub use drop_deleted::DropDeleted;
21pub use inplace_delete::InplaceDelete;
22
23#[cfg(test)]
24mod test;