~/talk

Leveraging Lucene Skip Indexes for Faster Aggregations in OpenSearch

Talkat OpenSearchCon China 2026 · 2026-03-17..03-18· [databases]
links:none on file
links:none on file
slides:none on file

Shows that Lucene 10 skip index metadata for sorted doc values lets OpenSearch skip or bulk-count whole doc ranges instead of visiting each document, aligning filter doc iterators with skip-intervals and using popcount bitset ops for block-level bucket counting. Prototype reduces hourly-with-filter latency from ~1s to 36ms (~28x), yields ~40% speedup with metric sub-aggregations and up to 6x on some date-range tests, costs <0.1% extra storage per timestamp field, works best on sorted time-series, and must be enabled at index creation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Filter rewrite recap
  3. 7:10Filter rewrite limits
  4. 12:16Lucene skip indexes intro
  5. 14:08Skip indexes in Lucene 10
  6. 17:17Skip indexes for aggregations
  7. 20:50When skip indexes help
  8. 22:13Skip indexes benchmarks
  9. 23:40Optimization integration
  10. 24:48Enabling skip indexes
  11. 26:11Community improvements
  12. 27:16Future JVM optimizations
  13. 30:27Skip index resources
  14. 31:15Q&A
  15. 33:28Q&A
~/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.