
Goal: search features on a large job platform needed Elasticsearch mapping changes, and re-indexing put search availability at risk during every release.
Solution: built a re-indexing system using blue/green indices behind an alias. A background job builds the new index from MySQL in throttled batches while the live index keeps serving traffic and live changes go to both. After validation, the alias switches to the new index in one atomic call, and the old index is kept for instant rollback.
Impact: search-related features ship with zero downtime, and re-indexing became a routine, repeatable release step instead of a risky one.
Stack: Elasticsearch (aliases, bulk API), MySQL, Ruby on Rails, background jobs.
0 likes · 0 views · Nov 25, 2026
Built blue/green Elasticsearch re-indexing behind an alias so a job platform could ship search mapping changes with zero downtime and one-call rollback.