~/talk

Context-Aware Segments: Solving the "Scatter-Read" Problem

Talkat Berlin Buzzwords 2026 · 2026-06-07..06-09· [frontend-architecture]
links:none on file
slides:none on file

Introduces Context-Aware Segments (OpenSearch RFC #18576, Lucene Issue #13387) that enforce document locality by routing documents to group-specific writers via a user-defined grouping criteria and exposing those segments through a composite index writer; segment-level metadata enables the query coordinator to perform pre-search pruning and skip HNSW vector blobs per segment. Implementation yields measured wins: range queries scan ~3x fewer docs, sorts ~15x, aggregations ~40x, compression improves ~20%, and end-to-end queries see ~30–40% latency improvements.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:12How OpenSearch organizes data
  3. 3:16Problem with scatter-gather pattern
  4. 5:43Use case: HTTP log analytics
  5. 7:10Use case: Multi-tenant vector search
  6. 9:18Introducing context-aware segments
  7. 16:01Grouping criteria explained
  8. 18:06Architecture of context-aware segments
  9. 21:18Indexing with grouping criteria
  10. 24:48Refresh and double buffer pattern
  11. 30:06Handling document updates
  12. 36:03Compaction and merge policies
  13. 38:12Search optimization with grouping
  14. 40:18Performance improvements and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.