~/talk

Designing & Evolving a User-oriented API in Elasticsearch

Talkat GOTO Amsterdam 2014 · 2014-06-19..06-20· [api-design]
slides:none on file

Elasticsearch is a real‑time distributed search and analytics engine built on Lucene that indexes everything into immutable segments, merges them in the background, and uses a transaction log plus a refresh every 1 second for near‑real‑time visibility. Aggregations run by un‑inverting the index using field data (or disk doc values), enabling fast metrics and bucket queries; significant terms surfaces surprising patterns (e.g., Cambridge bike thefts, airport gun incidents). Sharding, fixed primary counts, and replicas handle scale and failover.

AI-written summary · about

  1. 0:00Start
  2. 1:13how does it work?
  3. 1:25making text searchable
  4. 16:03building the inverted index
  5. 19:17near real-time search
  6. 19:50lucene flush
  7. 20:23don't lose data
  8. 21:32elasticsearch flush
  9. 22:27reduce segments
  10. 23:51merge process
  11. 24:53scale out, not up
  12. 25:27"node" running instance of elasticsearch one server
  13. 26:48scaling elastically
  14. 28:05add redundancy
  15. 28:22"replica shard(s)" copy of primary shard
  16. 32:13the master node
  17. 33:17cluster state
~/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.