MN://WORK/ffts-grep
ffts-grep
Fast full-text file search using SQLite FTS5 and BM25 ranking.
- Rust
- SQLite FTS5
- BM25
- CLI

$ trace "ffts-grep"
- filesystem
- incremental index
- SQLite FTS5
- BM25 results
The problem
Searching a codebase is a relevance problem, not just a string-matching problem.
The constraint
The index must stay small, incremental, git-aware, and fast enough to sit inside an AI coding workflow.
The approach
A single Rust binary indexes filenames, paths, and content into SQLite FTS5, ranks with BM25, updates only changed files, and prunes deletions.
The outcome
The README reports approximately 10 ms queries on 10K-file codebases after the first index.
Next route
Open another project
The index is the wider system.