~/talk

pg_textsearch: Native BM25 Full-Text Search in Postgres

Talkat PGConf.dev 2026 · 2026-05-19..05-22· [databases]
links:none on file
links:none on file
slides:none on file

An open-source Postgres extension implements production-grade BM25 ranking inside the database, using an LSM-tree-inspired architecture with an in-memory memtable that spills to immutable disk segments, shared-memory concurrency, and native crash recovery. It exposes a CREATE INDEX/ORDER BY/LIMIT SQL surface, supports partitioning and parallel bulk indexing, and reports benchmarked throughput improvements (average query latency ~81 ms vs 700 ms on MS MARCO passages at 138M docs). Background compaction and phrase queries are not yet implemented.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 0:43Search in Postgres overview
  3. 3:10Classical Boolean keyword search
  4. 5:18Limitations of classical search
  5. 7:03Introducing PG Text Search
  6. 9:30SQL interface and features
  7. 13:05Unsupported features
  8. 14:51Index architecture and write amplification
  9. 17:41LSM tree structure
  10. 19:26Index internals and components
  11. 19:48Performance benchmarks
  12. 21:55Lessons learned and challenges
  13. 22:56Development timeline and adoption
  14. 23:37Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.