Search

Inverted indexes, relevance, autocomplete and search engines.

All topics · 3 lessons · 46 resources

Learn Search on System Design Atlas

  1. 01TF-IDF: scoring words by how useful they areWhy a rare word says more about a document than a common one, how term frequency and inverse document frequency combine, and where the idea stops working.Search, Analytics and Geo · 10 min read · start here
  2. 02BM25: the ranking function behind most search enginesHow BM25 adds saturation and length normalisation to TF-IDF, what k1 and b control, and how to compute a score by hand.Search, Analytics and Geo · 11 min read
  3. 03Sharding a search index: scatter, gather and mergeHow a search index is split across machines, why queries fan out to every shard, how top-k results are merged, and what goes wrong with deep paging and uneven shards.Search, Analytics and Geo · 11 min read

These share a lesson with Search.

Curated Search resources

Books

Blogs

Case Studies

Papers

Documentation