flâneur

Faster phrase search with shingled bloom filters in Brainstore - Blog - Braintrust

braintrust.dev · 1,272 words · saved by 1 readers

How trigram shingles in Brainstore's bloom filters keep phrase search fast as trace data grows large and cold.

7 July 2026Ankur Goyal7 min When you debug an agent, you often start from a bit of text you saw somewhere, maybe a line in a Slack screenshot, a snippet from an X post, or an output you want to trace back through your logs. Say you search for "They also touched on AI provider modifications." Every word in it shows up in almost every trace, but the exact wording, in that order, is rare. Common terms with a rare intersection is the worst case for a traditional search system, and at agent scale, where a dataset can balloon past 100TB of text, it is the difference between an instant answer and…

saved by

related reading