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§
- Seekr
Index - 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.