Spelling Correction in Site Search: When to Fix the Query and When to Ask
A shopper who types sneekers knows what they want. The search box has to decide whether to fix the word silently or ask, and the wrong choice costs the sale either way.
Spelling correction should fix the obvious typo silently and ask when the fix is uncertain. A silent fix on a confident match gets the shopper to products fast. A silent fix on a guess shows the wrong products and teaches the shopper that search cannot be trusted.
The confident fix and the guess
A shopper who types sneekers wants sneakers. The correction is confident, the intent is obvious, and asking the shopper to confirm would slow them down for nothing. A silent fix is the right call, and the shopper will not even notice it happened. They will just see the products they wanted, which is the whole point of search.
A shopper who types a word that could be two different products is a different case. A silent fix there is a guess, and a wrong guess shows the wrong products and teaches the shopper that search cannot be trusted. The shopper who sees the wrong products does not think the search made a reasonable mistake. They think the store does not carry what they want, and they leave. The fix that is a guess should be shown, not hidden.
Related reading on this site: RelevanceRail and Zero-Result Searches: What Your Search Log Is Telling You cover the neighbouring problems in more depth.
What to show when you correct
The pattern that works is the did you mean pattern: show results for the corrected spelling, tell the shopper what was searched, and offer a link to search the original term instead. The shopper sees the products for the corrected word, and they see that the search corrected it, and they have a way back if the correction was wrong. The transparency is the point. A search that corrects silently and gets it wrong has no way back, and the shopper has no reason to trust the next search.
The same pattern applies to zero-result queries. A shopper who gets no results for a typo should see the corrected results and the correction, not a blank page. A blank page is the search system giving up, and a shopper who gets a blank page will not try again. The correction is the recovery, and the recovery has to be visible.
The typo data is a catalog report
The search log is the list of typos that matter. The zero-result queries and the reformulated queries show the words shoppers actually misspell, and the most common misspellings of the top products are usually a handful of words. Fixing those covers most of the loss, because the typo problem is concentrated: a few words, misspelled often, by many shoppers. The log is the catalog report, and it is free.
The fix is not just in the search system. The most common misspellings of a product name are also the words that should appear in the product description, the alt text, and the synonym map. A product that is often misspelled is a product whose name is hard to spell, and the catalog should carry the common misspellings so the search does not have to guess. The typo data is a report on the catalog, not just on the shoppers.
Frequently asked questions
Should site search correct spelling automatically?
Yes, when the correction is confident. A shopper who types sneekers wants sneakers, and showing results for the corrected word is faster than asking. When the correction is a guess, show the results and say what you searched for instead.
What is the did you mean pattern?
Showing results for the corrected spelling while telling the shopper what was searched, with a link to search the original term instead. It keeps the shopper in control when the correction might be wrong.
Do typos matter for search revenue?
Yes. Shoppers who search convert at higher rates than browsers, and a typo that returns nothing loses the highest-intent visitor on the site. Typo handling is a conversion lever, not a nice-to-have.
How do I find the typos my shoppers make?
Read the search log. The zero-result queries and the reformulated queries are the list. The most common misspellings of your top products are usually a handful of words, and fixing those covers most of the loss.