# One Edit Away: How Typo Tolerance Decides Which Misspellings Still Sell | Product recommendations shoppers actually want

Source: https://relevancerail.com/blog/typo-tolerance-search-edit-distance-2026-11-21/

Product recommendations shoppers actually want


Lether wallet. Sneekers. The shopper knows what they want and cannot spell it the way your catalogue does. Whether that search returns the product or an apology is decided by a small technical setting most merchants have never looked at: how many letter edits the search engine forgives.

Typo tolerance is usually measured in edit distance: the number of insertions, deletions, substitutions, or swaps needed to turn the typed word into a catalogue word. A tolerance of one edit catches most real misspellings of short words; two edits help long words and hurt short ones, where two edits can reach a different product entirely.

## Edit distance, in shopper terms

Levenshtein distance counts the smallest number of single character changes between two words. Sneekers to sneakers is one substitution. Lether to leather is one insertion. Most human typos on a phone keyboard are one edit: a neighbouring key, a dropped letter, a transposed pair. That is why one edit of tolerance recovers the large majority of misspelled searches without changing anything else about the results.

The second edit is where judgement starts. On a ten letter word, two edits still lands on the same product almost every time. On a four letter word, two edits is half the word, and the engine starts returning neighbours the shopper never meant.

## Length is the setting that should vary

Well behaved search tools scale tolerance by word length for exactly that reason: no forgiveness on very short words where every letter carries meaning, one edit in the middle range, two only on long words. Shopify's semantic search option, available on eligible plans for English storefronts, attacks the same problem from the meaning side rather than the letter side, and the two approaches cover different failures.

Semantic matching rescues the shopper who typed the right concept in different words. Letter tolerance rescues the shopper who typed your exact word, wrong. A store needs the second problem solved first, because it is cheaper and the shopper was already right.

## Find your misspellings in the no results list

The searches with no results report is a spelling census of your own customers. Sort it by volume and the top misspellings name themselves, along with the products they wanted. Baymard's search research consistently finds misspellings and vocabulary variants sharing the top of that list, which means one report drives both the synonym work and the typo settings.

Where your search tool cannot tune tolerance, the census becomes a synonym list: add the recurring misspelling as a synonym or a product tag. It is inelegant and it works, because the same hundred misspellings recur every month.

## Test tolerance like a merchandiser, not an engineer

Take your twenty highest volume misspelled queries and run them after any change. Every one should return the intended product in the first few results, and no short word query should start returning a different category. That two sided check is the whole acceptance test: recall for the typos, precision for the short words.

Then leave the setting alone. Typo tolerance is infrastructure. The monthly habit that pays is reading the no results list, not re tuning the algorithm.

## Keep reading

Related guides on this site: [synonyms for the top queries first](https://relevancerail.com/blog/search-synonyms-top-queries-first-2026-11-19/) [the no results page as recovery, not dead end](https://relevancerail.com/blog/no-results-page-recovery-not-dead-end-2026-11-18/) [More from Product recommendations shoppers actually want](https://relevancerail.com/blog/).

## Frequently asked questions

### What is edit distance in search?

It is the smallest number of single character changes, insertions, deletions, substitutions, or swaps, needed to turn the typed word into a catalogue word. Most real typos are one edit away.

### How much typo tolerance should a store allow?

Scale it by word length: none on very short words, one edit for mid length words, and two edits only on long words, where two changes still point at the same product.

### Where do I find out which words my customers misspell?

In the searches with no results report. Sorted by volume, it lists the exact misspellings and vocabulary variants your shoppers use, which also feeds your synonym list.

### Does semantic search replace typo tolerance?

No, they solve different failures. Semantic search matches meaning when the shopper used different words. Typo tolerance matches the catalogue's own word when the shopper spelled it wrong.
