1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//! HNSW (Hierarchical Navigable Small World) index implementation.
//!
//! This module provides high-performance approximate nearest neighbor search
//! based on the HNSW algorithm.
//!
//! # Native Implementation (v1.0+)
//!
//! `VelesDB` uses a custom native HNSW implementation that is:
//! - **1.2x faster search** than external libraries
//! - **1.07x faster parallel insert**
//! - **~99% recall parity** with no accuracy loss
//!
//! # Module Organization
//!
//! - `params`: Index parameters and search quality profiles
//! - `native`: Core HNSW graph with SIMD distance calculations
//! - `index`: Main `HnswIndex` API
// ============================================================================
// Core modules
// ============================================================================
pub
pub
pub
// ============================================================================
// Tests
// ============================================================================
// ============================================================================
// Public API
// ============================================================================
pub use ;
/// Main HNSW index for vector search operations.
pub use HnswIndex;
/// HNSW backend trait for custom implementations.
pub use HnswBackend;
/// Native HNSW index with direct access to underlying graph.
pub use NativeHnswIndex;