Using Elasticsearch with Rails Apps
summary
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
chapters (9)
- 0:00Start
- 1:00What is Elasticsearch?
- 10:46Caveats with Callbacks
- 12:16More Elasticsearch Terms! Mapping
- 14:38Autocomplete Demo
- 17:30Other Query Examples Paging
- 20:57Raw Queries
- 21:42Tire and Multi-node Clusters
- 27:55Scaling Elasticsearch Max cluster size dependent on index settings
related talks
09mElasticSearch on Rails
38mElasticSearch in action
33mFrom Excel to Rails: A Path to Enlightened Internal Software
26mRuby APIs for NoSQL
47mAdvanced (Elastic) Search for Your Legacy Application
41mHow Shopify Scales Rails
36mElasticSearch and Redis How and When to Use Them
31mA Rails performance guidebook: from 0 to 1B requests/day
