> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kibocommerce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Spell Correction

The Spell Correction features within search configurations improve the possibility of matches in search results when a search term is misspelled or doesn't exactly match a term in the product catalog. They can be used independently or combined.

Spell Correction must be enabled in the [Search Schema Editor](/pages/search-schema-overview#spell-correction) before it can be toggled on within Search Configurations.

## <img src="https://mintcdn.com/kibocommerce-59e68a4a/H1YPkoqwgXOfZbZX/img/search-settings-spell-correction.png?fit=max&auto=format&n=H1YPkoqwgXOfZbZX&q=85&s=cc4975e08fda9eda3035d2ccd19aff6d" alt="Screenshot of the Spell Correction portion of the Site Search settings" width="569" height="359" data-path="img/search-settings-spell-correction.png" />

## No Spell Correction

In this example, the misspelling "shiirt" is entered as a search query. Since neither Auto Correct nor Did You Mean are enabled, no search results are available.

<img src="https://mintcdn.com/kibocommerce-59e68a4a/H1YPkoqwgXOfZbZX/img/search-results-no-spell-correction.png?fit=max&auto=format&n=H1YPkoqwgXOfZbZX&q=85&s=5804f84c99fcd4fbabe94f198e243358" alt="Screenshot of search listings for the term &#x22;shiirt&#x22; with no results" width="1114" height="377" data-path="img/search-results-no-spell-correction.png" />

## Auto Correct

Enabling this feature ensures that if there are no results for a given search after minimum match retries, the query will automatically switch to the corrected search term.

In this example, the misspelling of "shiirt" is automatically corrected to "shirts" and results are shown for the corrected term.

<img src="https://mintcdn.com/kibocommerce-59e68a4a/kGarQ_7QDUU5QUsX/img/search-results-autocorrect-only.png?fit=max&auto=format&n=kGarQ_7QDUU5QUsX&q=85&s=25c4fb1d3b50bd67b37d1f261cb61ae5" alt="Screenshot of search results for the term &#x22;shirts&#x22;" width="1105" height="694" data-path="img/search-results-autocorrect-only.png" />

## Did You Mean

Enabling this feature ensures that if there are more results for an alternate query than the submitted term's query, the results page offers the alternate query as a suggested link.

In this example, the misspelling of "shiirt" has no results, so the suggested term with the next highest number of results, "shirts," is shown.

<img src="https://mintcdn.com/kibocommerce-59e68a4a/H1YPkoqwgXOfZbZX/img/search-results-did-you-mean-only.png?fit=max&auto=format&n=H1YPkoqwgXOfZbZX&q=85&s=63eb233ed054f60e8729ca0f10ed4648" alt="Screenshot of search listings with no result for &#x22;shiirt&#x22; but asking the user Did you mean &#x22;shirts&#x22; with a link to those results" width="1104" height="420" data-path="img/search-results-did-you-mean-only.png" />

Once the link is clicked, results are shown as normal.

<img src="https://mintcdn.com/kibocommerce-59e68a4a/kGarQ_7QDUU5QUsX/img/search-results-did-you-mean-only-after-link.png?fit=max&auto=format&n=kGarQ_7QDUU5QUsX&q=85&s=daa381a426383616a9e3b10e2d97301f" alt="Screenshot of a search listing for the term &#x22;shirts&#x22;" width="1099" height="486" data-path="img/search-results-did-you-mean-only-after-link.png" />

## Combining Spell Correction Features

In this example, the misspelling of "shiirt" is automatically corrected to "shirts" with those results shown. However, since there are results for another similarly spelled term, "shorts," that is also shown as a suggested term with a link to those results.

<img src="https://mintcdn.com/kibocommerce-59e68a4a/kGarQ_7QDUU5QUsX/img/search-results-autocorrect-and-did-you-mean.png?fit=max&auto=format&n=kGarQ_7QDUU5QUsX&q=85&s=2478a7af28845b5d93e42a017cb08177" alt="Screenshot of search results for the term &#x22;shirts&#x22; with a Did you mean link for the similar term &#x22;shorts&#x22;" width="1099" height="739" data-path="img/search-results-autocorrect-and-did-you-mean.png" />
