Skip to content

Misspelling Filtering

Suggestions that match a known misspelling are automatically filtered from suggestion search results. This means that if a misspelling such as "djor" → "dior" is registered, suggestions that contain "djor" as an exact word will not be shown to the user. Instead, only the correctly-spelled suggestion will appear.

This filtering is automatic. As long as misspellings are registered in a misspelling dictionary, the filtering is applied whenever the suggestion index is published.

A misspelling dictionary always applies to both the product index and the suggestion index. The search phrase itself is corrected before the suggestion search runs, so a misspelled phrase is matched against suggestions in its corrected form.

Matching

The matching behavior depends on whether the misspelling term is a single word or multiple words.

Misspelling type Matching rule Description
Single word Exact word Matches any suggestion containing the misspelled word
Multi-word Exact match Matches only the suggestion that is exactly the phrase
Matching behavior for misspelling filtering

Single-word misspelling

Assume a misspelling "djor" → "dior" is registered.

Suggestion Filtered? Reason
djor Yes Exact word match on "djor"
djor perfume Yes Contains the exact word "djor"
djors No "djors" is not an exact word match
dior No Correctly spelled — not a misspelling

Multi-word misspelling

Assume a misspelling "djor parfume" → "dior perfume" is registered.

Suggestion Filtered? Reason
djor parfume Yes Exact match on "djor parfume"
djor parfume set No Not an exact match of the full phrase
djor No Not an exact match of the full phrase

Suggestion indexing

Suggestions that match a misspelling are still indexed, but they are excluded from the results. This is the same behavior as taboo suggestions.