# Local hybrid search over personal documents and chat logs.

> A local hybrid search tool and the index it built from more than 10,000 of Jason Phillip's own conversations with language models since December 2022.

Canonical: https://jasonphillip.com/work/corpus/

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

- 2022-12, First conversation in my chat history.
- 2026-08-28, First commit.
- 2026-10-12, The repository went public.
- 2026-10-12, Keyword Recall@5 went from 0.250 to 0.950 when matching changed from AND to OR.
- 2026-10-16, Transcript chunking and metadata filters added.
- 2026-10-21, Phrase channel and test evaluation added.
- 2026-10-22, Email-thread chunking changed so that no text is dropped.
- 2026-10-27, README revised.

## Status

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

## Links

- corpus-pipeline: https://github.com/jasonphillip/corpus-pipeline
- Evaluation, 2026-10-12: https://github.com/jasonphillip/corpus-pipeline/blob/main/eval/results/2026-10-12-4117b89.md
- Evaluation, 2026-10-16: https://github.com/jasonphillip/corpus-pipeline/blob/main/eval/results/2026-10-16-10ef530.md

© 2026 Jason Phillip
