Design Product Search With Typo Tolerance and Faceted Filters

Last updated: November 29, 2026

Quick Overview

Design the backend for Flipkart's product search that handles misspelled and Hinglish queries, returns ranked results across 150M+ listings, and supports filters like brand, price range, rating and delivery by tomorrow.

Flipkart
System Design
Software Engineer
Flipkart
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the backend for Flipkart's product search that handles misspelled and Hinglish queries, returns ranked results across 150M+ listings, and supports filters like brand, price range, rating and delivery by tomorrow.

Search drives most purchases on Flipkart, and queries are noisy: transliterated Hindi, misspellings, and very short queries on mobile. The interviewer checks that you separate query understanding, retrieval and ranking, and that you think about index updates when price and stock change constantly.

What the Interviewer Expects
  • Break the pipeline into query understanding, candidate retrieval, ranking and filtering
  • Explain spell correction and transliteration handling
  • Design a sharded inverted index with facet counts
  • Handle frequent updates to price, stock and delivery promise without full reindexing
  • Set latency budgets per stage
  • Mention offline and online evaluation of relevance
Key Topics to Cover
inverted index
query understanding
faceted search
learning to rank
index freshness
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you keep 'deliverable by tomorrow' accurate per pincode without exploding the index?
  • How would you add semantic (embedding) retrieval next to lexical retrieval?
  • How would you handle a query like 'phone under 15000' that hides a filter?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: keyword search with typo tolerance, filters (brand, price, rating, seller, delivery speed), sort options, facet counts, pagination.

Non functional: p99 under 200 ms end to end, pe...

High-Level Design

Search API -> Query Understanding (normalize, spell correct, transliterate, detect category and implicit filters) -> Retrieval over a sharded inverted index (Elasticsearch/Solr style or in-hou...


Submit Your Answer
Markdown supported