V MessageVault AI

Journal

Notes from building it

Engineering write-ups from MessageVault AI — mostly about on-device search, and mostly about things that went wrong.

A longer prefix returned fewer results

In SQLite FTS5 with the porter tokenizer, typing one more character can take you from results to zero and back. Stemming shortens tokens, so an intermediate prefix can overshoot what is actually stored. Reproducible in four lines.