Local hybrid search over personal documents and chat logs.
The tool builds a local search corpus from document directories. It combines keyword and vector scores inside one SQLite file. I indexed my own chat history with language models.
Keyword matching, AND to OR
| Before | After | |
|---|---|---|
| Keyword Recall@5 | 0.250 | 0.950 |
30 queries over 45 test documents.
Exact-phrase tier
| Before | After | |
|---|---|---|
| Phrase-query Recall@1 | 0.03 | 0.37 |
| Overall MRR | 0.26 | 0.35 |
120 test questions over a mail index.
What it is
The system uses FTS5 keyword scores and sqlite-vec vector scores. It uses the Qwen3-Embedding-4B model at 2,560 dimensions. Chunks are 2,500 characters with 250 overlap.
I indexed my own conversations from December 2022 to October 2026. This covers 10,153 conversations across ChatGPT, Claude, Gemini, Claude Code and Codex. The index holds 59 corpora and about 670,000 chunks on my machines. I search it from my sessions every day.
Timeline
- First conversation in my chat history.
- First commit.
- The repository went public.
- Keyword Recall@5 went from 0.250 to 0.950 when matching changed from AND to OR.
- Transcript chunking and metadata filters added.
- Phrase channel and test evaluation added.
- Email-thread chunking changed so that no text is dropped.
- README revised.
Status
The repository went public on 2026-10-12. I search the index from my sessions every day.
Links
Checked November 20, 2026