- Type:
list<string> - Default:
[] - Scope:
settings,search - Deprecated name:
disableTypoToleranceOn
disableTypoToleranceOnAttributes parameter lets you turn off typo tolerance
for specific attributes, which must be a subset of the
searchableAttributes index setting.
This means that a user query must match those attributes exactly, without spelling corrections.
Usage
This setting is useful when:- Precision is critical. For example, searching for product SKUs, phone numbers, or hyphenated attributes
-
You want to reduce irrelevant matches in long-form text fields like
descriptionor user-generated content. Combining this withdisablePrefixOnAttributeshelps narrow down fuzzy matches.
-
Proper nouns or intentionally misspelled titles, such as movie names or creative brand names.
Instead, use
disableTypoToleranceOnWordsor add synonyms. - Named entities like people or places that might be hard to spell. In these cases, increasing typo tolerance can be more helpful.
There’s no hard limit on the number of attributes you can include,
but adding too many can slow down
getSettings operations
and degrade performance in the Algolia dashboard.Examples
Turn off typo tolerance for some attributes by default
Current API clients
Current API clients
Legacy API clients
Legacy API clients
Turn off typo tolerance for some attributes for the current search
Current API clients
Current API clients
Legacy API clients
Legacy API clients