Boost Search Relevance with Algolia Synonym Mapping
Misspelled or domain‑specific queries reduce conversion; Algolia synonym mapping normalizes terms, boosting relevance without code changes.
29 Sept 2025, 22:20 UTC

Why Misspelled Queries Hurt Your Conversion
When users type a query that contains a typo or an unfamiliar term, the search engine may return no results or irrelevant ones. This leads to lower click‑through rates and reduced sales. The core problem is that the exact string a user enters must match a document field exactly; small spelling differences break the match.
Takeaway: Using Algolia’s built‑in synonym mapping normalizes diverse terms into a single searchable concept, improving relevance without writing any code.
Thesis: Normalizing Terms with Algolia Synonym Mapping
Algolia’s synonym feature lets you define groups of words that should be treated as equivalent during a search. For example, “tv”, “television”, and “telly” can be mapped to a single canonical term. When a user searches for any of those words, Algolia expands the query internally, so the matching documents are found even if the exact spelling differs. This boosts relevance without any code changes, which is especially valuable for e‑commerce sites where product names vary by region or slang.
How to Set Up Synonyms in the Algolia Dashboard
- Access the Synonyms tab: Log in to the Algolia dashboard, select your index, and click the “Synonyms” section in the left navigation.
- Define a synonym group: Click “Add synonym”. In the “Terms” field, list the variants separated by commas, e.g.,
tv,television,telly. The first term becomes the canonical key. - Save the group: Press “Save”. The dashboard stores the mapping but does not apply it until you reindex the data.
- Reindex the index: Go to the “Settings” page, locate the “Reindex” button, and start the process. This step is required because synonym matching is computed at query time after the data is loaded.
Permissions & placeholders: You need admin or owner rights on the index. Use placeholders like {index_name} when scripting the reindex API call.
Risks: Reindexing a large dataset can be costly in terms of compute and storage; schedule it during off‑peak hours. Also, the synonym feature is only available on paid plans; the free tier does not support custom synonym definitions.
Worked Example: Fashion Retailer Boosts Click‑Through
A mid‑size fashion retailer noticed that queries for “sneakers” often returned zero results when users typed “shoes”, “trainers”, or “kicks”. They added a synonym group in the Algolia dashboard:
sneakers,shoes,trainers,kicks
After a full reindex, they ran a test query for “sneakers” and observed a 12% increase in click‑through rate for the related terms in the analytics console. The query logs showed that the terms “shoes”, “trainers”, and “kicks” were correctly expanded to the canonical “sneakers” before the search was executed.
Verification steps: 1) Confirm the synonym entry appears in the “Synonyms” section. 2) Run a before‑and‑after query in the dashboard’s “Search” widget. 3) Check the “Query Logs” for the expanded terms. 4) Review the “Analytics” tab for CTR changes.
Trade‑Offs and Limitations
- Over‑broad groups dilute relevance: If a synonym group contains unrelated terms, unrelated documents may appear in results, hurting quality.
- Reindex cost: Large indices require a full reindex whenever synonyms change, which can be expensive; plan for off‑peak windows.
- Language awareness: Synonym matching is case‑insensitive but not language‑aware. Multilingual sites should maintain separate synonym lists per language.
- Plan restriction: Only paid Algolia plans support custom synonym definitions; verify your subscription before configuring.
Actionable Checklist for Developers
- Confirm your Algolia plan includes synonym support.
- Define concise synonym groups that reflect real user language variations.
- Add the groups via the dashboard or API, using clear placeholders (e.g.,
{term1},{term2}). - Schedule a reindex during a low‑traffic period; monitor reindex duration and cost.
- Run a test query before and after reindexing, comparing result counts and CTR in the analytics console.
- Inspect the query logs to verify that the intended terms are being mapped.
- Monitor search performance for a week; if relevance drops, review and prune overly broad groups.
Following this checklist lets you harness Algolia’s synonym capability to reduce misspelling loss, increase conversion, and maintain search quality with minimal engineering effort.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.