diskann-disk 0.53.0

DiskANN is a fast approximate nearest neighbor search library for high dimensional data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) Microsoft Corporation.
 * Licensed under the MIT license.
 */

use diskann_providers::storage::AsyncQuantLoadContext;

/// Context for loading an async disk index.
pub struct AsyncDiskLoadContext {
    /// AsyncQuantLoadContext for loading quantized data.
    pub quant_load_context: AsyncQuantLoadContext,
    /// Number of nodes to pre-load using breadth-first-search and cache in memory.
    pub num_nodes_to_cache: usize,
    /// Number of maximum IO operations to perform during search.
    pub search_io_limit: usize,
    /// Number of vectors in the index.
    pub num_points: usize,
}