AS
Archit Singh
Rebuilding a SQLite Search Index from Markdown in Rust
Submitted Nov 23, 2026
What happens to local search when its index goes stale? In Lorevell, Markdown is the source of truth and SQLite is an index the Rust engine can rebuild. I’ll demo a note edit and show how to rebuild search from the files, then explain which data belongs in Markdown, what SQLite stores, and how to test that a rebuild reflects the edit.
You’ll leave with a way to design and verify a rebuildable local index without making it the only copy of your data. This talk is for Rust developers building local-first tools, file-based apps, or search features. The command-line demo runs offline and does not use a live language model.
Runtime: 20 minutes including questions: 4 for the storage model, 8 for the demo, 5 for the design trade-offs and test, and 3 for questions.
Speaker: Archit Singh is a senior software engineer and the maintainer of Lorevell. He spoke at PyCon India 2025 on “Memory is the Agent: Architecting Stateful Reasoning.”
10-minute lightning option: I can also show the same offline demo in person in 10 minutes, including a short question. I’ll edit a note, show SQLite’s stale result, then rebuild the index from Markdown and verify that the same note ID and updated text return. The audience leaves with a concrete recovery test.
Comments
Hosted by
A community of Rust language contributors and end-users from Bangalore. We have presence on the following telegram channels https://t.me/RustIndia https://t.me/fpncr LinkedIn: https://www.linkedin.com/company/rust-india/ X/Twitter: https://x.com/IndiaRust
more
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}