~/talk

Using Elasticsearch with Rails Apps

Talkat RailsConf 2013 · 2013-04-29..05-02· [databases, ruby-on-rails]
speakerdeck:briangug
slides:none on file

Shows Elasticsearch integrated into Rails using Tire gem and curl to index data, importing 9,606 documents of forum topics and a product catalog of ~800,000 products. Demonstrates autocomplete with highlighting, faceted filters (vendor, price, ratings), paging, and term/range queries, uses Bigdesk and Paramedic for cluster health, explains shards/replicas and dynamic rebalance when adding a node, and reports the setup works in practice with faster searches and scalable indexing when paired with a load balancer.

AI-written summary · about

  1. 0:00Start
  2. 1:00What is Elasticsearch?
  3. 10:46Caveats with Callbacks
  4. 12:16More Elasticsearch Terms! Mapping
  5. 14:38Autocomplete Demo
  6. 17:30Other Query Examples Paging
  7. 20:57Raw Queries
  8. 21:42Tire and Multi-node Clusters
  9. 27:55Scaling Elasticsearch Max cluster size dependent on index settings
~/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.