This question evaluates system design and search engineering competencies, covering catalog modeling, indexing, query processing, ranking, and integration with order, inventory, and pricing systems in an e-commerce context.
You are designing the category browsing and product search functionality for a large consumer e‑commerce platform with millions of SKUs, product variants (size/color), a hierarchical category taxonomy, and global traffic. The system must support fast, relevant search and browsing, and integrate cleanly with the order flow (product detail, cart, checkout) while honoring inventory, pricing, and promotions.
Assume read-heavy workloads (search/browse) and frequent catalog updates (price, stock, promotions). Latency targets for search/browse are sub-200 ms at p95.
Design the following end-to-end:
State assumptions where needed and justify trade-offs.
Login required