← Tuesday, September 29, 2026DatabasesDeep dive

TIN Postgres search supports per-keystroke queries and wildcard autocomplete

planetscale.com by Patrick Reynolds 3 min read Editor score 6/10

A Postgres search demo uses TIN to query on every keystroke without a debounce and treats an incomplete final word as a wildcard. It illustrates how lower search latency can change interaction design, though the excerpt gives no TIN benchmark results.

What
TIN powers a Postgres app for searching Hacker News posts and comments.
How
The app searches on every keystroke, treats an incomplete final word as a wildcard, and can fuzz terms using edit distance.
Why it matters
Fast exact COUNT(*) queries and indexing common words enable responsive search without debouncing or stop-word exclusions.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.