57. Design Post Search like Facebook
Search a billion posts a day by keyword, newest or most liked first, with an inverted index you build yourself.
ClassicMedium
Start with a template. Work through each step. Ask Coach when you need a second opinion.
Company tags are community-reported. Counts on cards show how many people reported that design.
Search a billion posts a day by keyword, newest or most liked first, with an inverted index you build yourself.
Search a billion documents in 200 ms: inverted indexes, analysers, Lucene segments, shards and replicas, query then fetch with BM25, fed by CDC.