Skip to main content

Module store

Module store 

Source
Expand description

Core index storage.

Manages a vector index (HNSW + fallback brute-force KNN) for semantic search and an inverted text index for keyword search. Provides build, query, save, and load operations.

Structs§

SeekrIndex
The main index structure holding both vector and text indices.

Functions§

cosine_similarity
Compute cosine similarity between two vectors.
tokenize_for_index_pub
Public wrapper for tokenize_for_index — used by incremental indexing.