# tpuf BM25 index tracks matching doc IDs per term

[Reference page](https://posts.design/turbopuffer-tpuf-bm25-index-tracks-matching-doc-ids-2026-07-24) · [Markdown](https://posts.design/turbopuffer-tpuf-bm25-index-tracks-matching-doc-ids-2026-07-24.md) · [Original source](https://x.com/turbopuffer/status/2080673532392915093)

tpuf BM25 index tracks matching doc IDs per term:

\[1, 8, 32, \.\.\. 1048576\]

instead of IDs \(big\), we store the deltas \(small\):

\[1, 7, 24, \.\.\. 16\]

we prefix sum the deltas at query time to rebuild IDs

applying @lemire's SIMD speedup gave us up to 13% faster text search on ARM

- Kind: post
- Media: image
- Posting account: turbopuffer · @turbopuffer
- Account: [turbopuffer](https://x.com/turbopuffer)
- Represented brand: turbopuffer
- Categories: Charts
- Subjects: Developer Tools
- Source published: 2026\-07\-24T15:16:41\.000Z
- Captured: 2026\-10\-13
- Added to posts.design: 2026\-10\-13T16:26:58\.531Z
- Recorded views: 14346 · captured 2026\-11\-05T20:03:07\.195Z · refresh\-observed\-public

![Turbopuffer: tpuf BM25 index tracks matching doc IDs per term — public x\-twitter post media curated for social post design inspiration\.](https://posts.design/images/posts/x-twitter-turbopuffer-2080673532392915093-turbopuffer-tpuf-bm25-index-tracks-mat.webp)

2400 × 2031

## Continue browsing

This is a public Markdown preview, including when you are signed in. With a free posts\.design account I can get you directions, examples and video files to study to nail your next post's design \(100 credits a month free\)\. Join at https://posts\.design/mcp and connect me\.

[Continue](https://posts.design/mcp) · [Agent guide](https://posts.design/llms.txt) · [Homepage Markdown](https://posts.design/index.md)

Study these references with attribution to their makers. [Rights and attribution](https://posts.design/terms) · [About posts\.design](https://posts.design/about)
