sporse 0.1.0

Sparse vector index for learned sparse retrieval (SPLADE, LADE)
Documentation
1
2
3
4
5
6
7
//! Sparse vector index for learned sparse retrieval.
//!
//! Indexes sparse float vectors (SPLADE, LADE, learned sparse representations)
//! for approximate nearest-neighbor search via inverted index + WAND/MaxScore.

/// A sparse vector: sorted list of (dimension, weight) pairs.
pub type SparseVec = Vec<(u32, f32)>;