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

BeforeAfter
Keyword Recall@50.2500.950

30 queries over 45 test documents.

Exact-phrase tier

BeforeAfter
Phrase-query Recall@10.030.37
Overall MRR0.260.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

  1. First conversation in my chat history.
  2. First commit.
  3. The repository went public.
  4. Keyword Recall@5 went from 0.250 to 0.950 when matching changed from AND to OR.
  5. Transcript chunking and metadata filters added.
  6. Phrase channel and test evaluation added.
  7. Email-thread chunking changed so that no text is dropped.
  8. README revised.

Status

The repository went public on 2026-10-12. I search the index from my sessions every day.

Checked November 20, 2026