---
title: "How Vinted Serves Personalised Search Autocomplete"
description: "Vinted's autocomplete service runs on Vespa and serves 4,700 queries per second at 31 ms P99 over a pool of 125 million suggestions across 50+ country-language markets."
url: "https://swe.quest/articles/how-vinted-serves-personalised-search-autocomplete-60df7b0a636c3d2b"
canonical: "https://vinted.engineering//2026/04/22/personalized-search-autocomplete/"
source: "Vinted Engineering"
published: "2026-04-22"
difficulty: "medium"
kind: "Case study"
reading_minutes: 22
tags: ["search","recommendation-systems","performance","system-design"]
---

# How Vinted Serves Personalised Search Autocomplete

A post on [Vinted Engineering](https://swe.quest/sources/vinted.md), published 2026-04-22, 22 min read, Case study. Original: [https://vinted.engineering//2026/04/22/personalized-search-autocomplete/](https://vinted.engineering//2026/04/22/personalized-search-autocomplete/)

## Summary

Vinted's autocomplete service runs on Vespa and serves 4,700 queries per second at 31 ms P99 over a pool of 125 million suggestions across 50+ country-language markets. More than 20% of search sessions now start from a suggestion, up from under 8%. Candidates come from product metadata combinations and search logs, scored twice a week by a heuristic built on Most Popular Completion. Switching from Vespa's native prefix queries to index-time edge-ngrams via Lucene Linguistics cut P99 matching latency from ~220 ms to ~25 ms, at the cost of more memory. A multiplexer token filter gives accent tolerance while preserving accent intent, a cascade of exact, edit-distance-1 and edit-distance-2 fuzzy tiers handles typos and supplies match-strength signal, and a LightGBM LambdaRank model with 63 features re-ranks results per keystroke for personalisation.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Search](https://swe.quest/tags/search.md) (Backend & APIs)
- [Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md) (AI & ML)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- search engine basics ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))
- inverted indexes
- learning-to-rank basics

## Keywords

Vespa, LightGBM, LambdaRank, Lucene, Apache Flink, Kafka, BigQuery, Elasticsearch

## Related posts

- [ML based ranking using Nrtsearch](https://swe.quest/articles/ml-based-ranking-using-nrtsearch-7c7a1334adf546d5.md): Yelp Engineering · 2026-09-16 · Medium · 8 min read · Search, ML platforms, Inference & serving, Recommendations & ranking, Deployment
  Yelp moved ML-based ranking out of a standalone scoring service and into Nrtsearch, its Lucene-based search engine, via an Inference Plugin that extracts features from indexed documents and request parameters and scores them in-process on replica nodes.
- [Neon Docs search is now built on Neon](https://swe.quest/articles/neon-docs-search-is-now-built-on-neon-6358bcc8a0cf6214.md): Neon · 2026-10-26 · Medium · 6 min read · Search, PostgreSQL, Vector search, Caching, AI agents
  Neon's docs search now runs entirely on its own stack: Lakebase Postgres with the lakebase\_vector (pgvector-compatible ANN) and lakebase\_text (BM25) extensions, a Hono API on Neon Functions, and Neon AI Gateway for embeddings and reranking.
- [Search Quality Assurance with AI as a Judge](https://swe.quest/articles/search-quality-assurance-with-ai-as-a-judge-64fdd8c596751052.md): Zalando Engineering · 2026-03-16 · Medium · 12 min read · Search, Evaluation, LLMs, Data pipelines, E-commerce
  Zalando validated search quality for new markets (Luxembourg, Portugal, Greece) before launch by using a multimodal LLM-as-a-judge instead of manual expert review.
- [How MDN’s autocomplete search works](https://swe.quest/articles/how-mdn-s-autocomplete-search-works-2a24a3a272638b76.md): Mozilla Hacks · 2021-08-03 · Medium · 5 min read · Search, Frontend, Web performance, JavaScript, React
  MDN Web Docs' autocomplete search runs entirely in the browser.
- [How Etsy Uses LLMs to Improve Search Relevance](https://swe.quest/articles/how-etsy-uses-llms-to-improve-search-relevance-3911d99788b5bd04.md): Etsy Code as Craft · 2026-01-16 · Medium · 10 min read · Search, LLMs, Evaluation, Model training, E-commerce
  Etsy built an LLM-powered semantic relevance framework that complements engagement signals, which favor popular listings, with judgments of how well listings match query intent across three classes: relevant, partially relevant and irrelevant.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
