Design App Search Ranking for the Microsoft Store
Last updated: November 29, 2026
Quick Overview
Design the ML ranking for search inside the Microsoft Store app on Windows, where users type short queries like 'pdf editor' or 'netflix' and expect the right app at the top.
Microsoft
November 29, 20260
0
0 solved
Design the ML ranking for search inside the Microsoft Store app on Windows, where users type short queries like 'pdf editor' or 'netflix' and expect the right app at the top.
A scoped search ranking design: the catalog is small compared with web search, but queries are short and navigational intent dominates. The interviewer checks a sensible pipeline, feature choices, labels from installs, and protection against keyword stuffing.
What the Interviewer Expects
- Separate navigational from generic queries
- Use a simple retrieval plus learning-to-rank pipeline
- Choose text, quality and engagement features
- Use installs and kept installs as labels, not just clicks
- Handle spam in titles and descriptions
- Evaluate with offline NDCG and online install rate
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How would you handle misspelled queries like 'spotfy'?
- How do you rank a new app with no installs?
- Should paid promotion be mixed into organic results?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
- Return about 20 ranked apps and games for a query, p95 under 200 ms.
- Catalog of hundreds of thousands of items, many markets and languages.
- Success: install from search that is still installed a...
High-Level Design
- Query processing: normalization, spelling correction from a dictionary of app names and past queries, intent detection (exact app name vs category).
- Retrieval: inverted index over name, ...
Submit Your Answer
Microsoft Machine Learning Engineer Interview Guide
Interview process, tips, and preparation timeline