Expand description
SQLite FTS5 full-text search engine for tree-structured documents.
Rust port of Python treesearch/fts.py. Single-file storage: tree structures,
FTS5 indexes, and incremental metadata are all stored in one SQLite database.
Key features:
- WAL mode for concurrent read/write
- MD-aware schema: front_matter, title, summary, body, code_blocks
- Hierarchical column weighting via FTS5 bm25()
- Content hash for incremental indexing
- Ancestor score propagation for tree search
Structs§
- FTS5
Index - SQLite FTS5 full-text search index for tree-structured documents.
- FtsResult
- A single FTS5 search result.
- FtsWeights
- Column weights for FTS5 bm25() ranking.
- Index
Stats - Statistics about the FTS5 index.
- MdFields
- Parsed markdown-aware fields from a node’s text.
Functions§
- parse_
md_ node_ text - Parse a node’s text into MD-aware structured fields.