Problem
GetYourGuide sells over 200K experiences in 18K cities, and its search suggestions are a main way users explore the catalog. Suggestions originally required every query term to appear in the index (a logical AND), so a query such as "Explore Paris" returned nothing: no document contained "Explore". Users also do not know the catalog's own names (a collection called "Cruises & Boat Tours") and mistype place names like Reykjavik. Fixing recall alone floods the list with loosely related items, and there are only 7 slots.
Example from the article: a query for "Porto" showed results for Paris, because Paris has a far higher popularity score.
Solution in brief
Think of suggestions as four goals that pull against each other: recall, precision, business value and intuition. Recall comes from LLM-generated synonyms and fuzzy matching. Precision is kept by scoring fuzzy matches at a tiny boost, so they appear only when exact matching fails. Popularity enters as a weak secondary signal: it orders good candidates and does not choose them.
Questions this case answers
- How to improve recall of keyword-based suggestions for free-text queries while keeping a tiny result list precise
- How to blend a business popularity signal into lexical ranking without overriding query relevance
- How to make search suggestions return results when the query uses words that are not in the catalog?
- How to add typo tolerance to suggestions without letting fuzzy matches crowd out exact ones?
Tools and methods
- OpenSearch — suggestion index with match, fuzzy, dis_max and rank_feature queries
- ChatGPT — generates aliases (synonyms) for each collection
- Fuzzy matching (Lucene) — typo tolerance through similar-string matching in OpenSearch
- Popularity score — 0 to 1 item score used as a secondary ranking signal
Google or a one-time email code. No password.