System Design · Amazon · Hard
Design the search layer that sits behind a large online storefront. The catalog holds roughly $$2 \times 10^8$$ product records, and a shopper arrives with a free-text query that may be narrowed by structured criteria: a price range and one or more nodes of a category taxonomy. For any such request the layer must return a page of matching products, the total number of matches, and facet counts that tell the storefront how many results fall under each category and each price…
Checking your access…