~/talk

Document relations with ElasticSearch

Talkat Berlin Buzzwords 2013 · 2013-06-03..06-04· [search]
links:none on file
slides:none on file

ElasticSearch exposes two concrete relation models with tradeoffs: parent-child routed by parent ID keeps parent and children on the same shard so queries run a local in‑memory join (index children before parent is allowed, the in‑memory structure size drops in 0.9.1); nested uses block indexing so each nested object becomes a Lucene doc enabling precise matches like chapter title = "Introduction" AND pages < 15 and score modes (sum/avg/max) control parent scoring. Many‑to‑many still forces denormalization and warmer API lets you preload relation data.

AI-written summary · about

  1. 0:00Introduction to document relations
  2. 0:41Why use document relations
  3. 2:31Denormalization vs joins
  4. 6:27Parent-child support in Elasticsearch
  5. 11:50Nested objects for denormalization
  6. 17:50How nested joins work fast
  7. 20:43Q&A
~/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.