The Desi Architect
Notes / Booking and Search / Search From the Ground Up
Track 3 · Booking and Search

Search From the Ground Up

Why LIKE '%word%' dies at scale, what an inverted index really is, how text becomes tokens, how shards answer one query together, and a lab you can run on your laptop. Written around Flipkart, Zomato, IRCTC and Swiggy style search boxes.

Guide24 min read
On this page
  1. The night the dish search melted
  2. The simple version
  3. Analysis: how text becomes tokens
  4. Documents, mappings and two kinds of field
  5. Why this result is ranked first
  6. Inside one shard: segments, refresh and the translog
  7. Shards, replicas and one query on many machines
  8. Where Elasticsearch fits, and where it does not
  9. Lab: run it on your laptop
  10. The war room: the update storm
  11. When to use what
  12. What a strong interview answer sounds like