How do I configure typo tolerance?

By default, this feature allows one typo for query terms with five or more characters and up to two typos for terms with at least nine characters.

For example, if your dataset contains "seven," searching for "sevem" or "sevan" will still match "seven." However, "tow" will not match "two" because it has fewer than five characters.

You can override these default settings using the minWordSizeForTypos object. The code sample below sets the minimum word size for one typo to 4 and for two typos to 10.

Note: The Enable Typo Tolerance setting must be activated first.

Follow the steps below:

  1. Select the Product List Option element, then click the icon marked with a red arrow to open the menu within that item.

  1. Once the menu is open, select the Search Input element on the left side, then click the icon on the right side, marked with a red arrow, to access the Search Ranking Rules settings.

  1. Set the desired order by dragging items up or down in the list marked below

Note: Save changes first because this update will trigger a system reindexing, completing in 10-15 minutes

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us