Expand description
SQLite+FTS5 persistent storage backend for RAG indices.
Provides SqliteIndex (implements SparseIndex) and SqliteStore
(convenience wrapper for document + chunk persistence).
This module replaces in-memory HashMap-based indices with SQLite-backed storage using FTS5 for BM25 ranking (Robertson & Zaragoza, 2009).
§Performance Contract
Median search latency: 10–50 ms on a 5000+ document corpus with warm page cache (see sqlite-rag-integration spec, Section 3.1).
Modules§
Structs§
- Sqlite
Index - SQLite-backed sparse index using FTS5 for BM25 search.
- Sqlite
Store - Combined document store + BM25 index backed by SQLite.
- Store
Stats - Statistics about the SQLite store.