Overview
A customer visits your electronics store and types "Headphnes". Your site shows zero results. They know what they want, and you sell it, but your search engine can't understand the misspelling.
Another shopper types "Trainers". Your catalog lists the same products as "Running Shoes". Again, nothing relevant appears.
Both cases expose the same weakness: customers don't always use the exact words in your product data. Two search capabilities address it, typo tolerance and synonym matching. They're related, but they solve different problems.
This guide covers:
- What typo tolerance and synonyms are, and how they differ.
- How to test each one on your own store.
- The mistakes to avoid and the metrics to watch.
What you'll need
- Your search logs or top search queries, including zero-result queries.
- A handful of products you know are published, to use as test cases.
- Access to your search app's typo and synonym settings.
- Customer support questions or reviews, to find the words shoppers use.
What is typo tolerance?
Typo tolerance recognizes queries with spelling mistakes and still returns relevant results. Instead of demanding an exact character-for-character match, the search engine allows some differences between the query and the indexed product information.
| Customer searches for | Intended product |
|---|---|
| Headphnes | Headphones |
| Keybord | Keyboard |
| Cofee machine | Coffee machine |
| Wirless mouse | Wireless mouse |
| Alternaters | Alternators |
How does typo tolerance work?
Search systems use techniques like edit distance and character-level matching to measure how similar a query is to an indexed word. "Headphnes" and "Headphones" are one letter apart, so the engine can treat the correct spelling as a likely match.
Implementations differ in:
- How many character differences are allowed.
- Whether the first characters get special treatment.
- How long and short words are handled.
- Whether typo matches rank below exact matches.
- Which product fields support typo matching.
Note
The goal isn't to return every vaguely similar product. It's to recover the search the shopper meant while keeping results relevant.
In Sparq, typo correction comes with the Premium and Enterprise plans. See the plan comparison.
What are search synonyms?
Synonyms are alternative words or phrases customers use for the same or closely related products.
| Catalog term | Alternative search term |
|---|---|
| Sneakers | Trainers |
| Trousers | Pants |
| Mobile phone | Smartphone |
| Television | TV |
| Notebook | Laptop |
| Sofa | Couch |
If your catalog says "Sofa" and customers search "Couch", relevant products may not appear without a synonym mapping to connect the two.
How does synonym matching work?
A merchant or search system defines relationships between terms, for example:
When a customer searches either term, the engine also returns products indexed under the other. Some systems support one-way mappings, others two-way equivalences or more advanced phrase relationships.
Watch out
Synonyms must be genuinely equivalent. "Running shoes" and "formal shoes" are both footwear, but treating them as synonyms will hurt relevance.
Typo tolerance vs. synonyms: what's the difference?
| Typo tolerance | Synonym matching | |
|---|---|---|
| Main purpose | Handle spelling mistakes | Handle alternative terminology |
| Example | Headphnes → Headphones | Trainers → Sneakers |
| Problem solved | Incorrect spelling | Different vocabulary |
| Configuration | Search matching rules | Synonym dictionary or mappings |
| Primary benefit | Recovers mistyped queries | Understands how customers describe products |
You need both, because shoppers use different words and make mistakes. Setting up one doesn't solve the problems the other handles.
1Step 1: Test typo tolerance on your store
Run these five tests using a product you definitely sell.
Test 1: Exact product search
Search "Wireless Bluetooth Headphones" and confirm the correct product appears.
Test 2: Single spelling mistake
Search "Wireless Bluetooth Headphnes". Does the intended product still appear?
Test 3: Character substitution or transposition
Try "Wirless Bluetooth Headphones" or "Headphoens". These show whether your search handles common typing errors.
Test 4: Singular and plural variations
Try "Headphone", "Headphones" and "Wireless headphone". Search should handle common word-form variations.
Test 5: Brand and model searches
Search a specific model using its exact identifier, such as a particular Sony headphone model number. Check that the exact model still ranks at the top.
Watch out
A system that corrects every query too aggressively can return the wrong product. Exact model matches must stay highly relevant.
2Step 2: Collect and map synonyms
Collect alternative search terms
Start with the words customers actually use. Review:
- Search logs.
- Customer support questions.
- Product reviews.
- Customer enquiries.
- Common industry terms.
- Regional vocabulary.
Identify equivalent terms
For example, sneakers and trainers, mobile phones and smartphones, sofas and couches. Check that each pair makes sense for the product category.
Create synonym mappings
Connect the alternative terms to the vocabulary used in your catalog.
Use a one-way mapping when one term should also find the other but not the reverse, and a two-way mapping when both terms mean the same thing.
Tip
In Sparq, you can choose one-way or two-way for each synonym in the dashboard, or import them in bulk: couch->sofa for one-way, gown,dress for two-way. Plans include 100, 1,000 or 10,000 synonyms. See how to set up synonyms.
3Step 3: Test synonyms in both directions
Search the first term, then the alternative. If the mapping is meant to be two-way, both should return the right products.
Don't just check whether a product appears. Check:
- Is the intended product visible?
- Are the top results relevant?
- Are unrelated products appearing?
- Are exact matches still ranked appropriately?
- Does the synonym cause confusing results in other categories?
Common mistakes to avoid
1. Treating synonyms as spelling corrections
A synonym changes the vocabulary being matched. A typo correction handles a mistyped version of a word.
2. Creating overly broad synonym groups
Not every related word means the same thing. Incorrect mappings bring in irrelevant products.
3. Ignoring product data quality
Even a sophisticated search engine needs accurate catalog data. Incomplete titles, brand fields, variant names and descriptions hurt relevance.
4. Ranking typo matches the same as exact matches
Where relevance tuning is available, exact and strong matches should outrank weaker typo matches.
5. Ignoring customer search behavior
Don't build synonym lists from assumptions. Use real customer search terms and check whether each mapping improves results.
6. Over-correcting model numbers and technical identifiers
Part numbers and SKUs usually need exact matching. Broad typo correction can return the wrong model or component.
Related capability: predictive search and autocomplete
Typo tolerance and synonyms aren't the same as autocomplete. Autocomplete suggests products or search terms while the shopper is still typing.
A customer types "Sam..." and the search bar suggests Samsung Galaxy smartphones, Samsung tablets and Samsung accessories, helping them find products before finishing the query.
A good search experience combines autocomplete, typo tolerance, synonyms and relevant ranking. Read more about ecommerce search autocomplete.
Measure performance
| Metric | Purpose |
|---|---|
| Zero-result rate for misspelled queries | Finds typing-related search failures |
| Synonym query success rate | Shows whether alternative terms return results |
| Search result click-through rate | Evaluates result relevance |
| Query reformulation rate | Shows whether customers keep changing searches |
| Search conversion rate | Measures purchases after search |
| Irrelevant result rate | Helps spot overly broad matching |
A successful setup improves discovery without hurting the accuracy of exact searches. Misspelled queries that still return nothing will show up in your zero-result report; see how to diagnose zero-result searches.
Troubleshooting
Misspelled queries still return nothing
Typo tolerance may be off, limited to certain fields, or not applied to short words. Check which fields support typo matching.
A synonym works one way but not the other
The mapping is probably one-way. Change it to a two-way equivalence if both terms mean the same thing.
Searching a model number returns a different model
Typo correction is too aggressive on identifiers. Require exact matching for SKUs and part numbers, or rank exact matches first.
A synonym pulls in irrelevant products
The group is too broad. Split it, or replace a two-way mapping with a one-way one.
How Sparq can help
Sparq improves ecommerce search and product discovery.
Search improvements make catalogs easier to navigate and reduce the friction caused when customers use different words or mistype queries. The aim is a search experience that matches how customers naturally shop. Learn more about how synonyms improve search conversions.
Quick reference
| Step | Action | Where |
|---|---|---|
| 1 | Run the five typo tests | Storefront search bar |
| 2 | Collect alternative terms | Search logs, support tickets, reviews |
| 2 | Create synonym mappings | Search app settings |
| 3 | Test both directions and relevance | Storefront search bar |
| — | Track misspelled zero-result rate | Search analytics |
Final takeaway: customers shouldn't need to know your catalog's exact wording to find what they want. Typo tolerance handles spelling mistakes. Synonyms connect different words for the same thing. Together with accurate product data, relevant ranking and predictive search, they make ecommerce search feel intuitive.
Need help?
Make your ecommerce search respond to how customers actually search with Sparq.








