the lab notebook

August 16, 2026

Experiment 001: a tiny local search index

The goal was full-text search with no server round trip. I built a token index at build time and shipped it as JSON.

What worked

Queries came back instantly under 5k documents.

What did not

The index outgrew the page itself past 20k documents.