- 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
description
or user-generated content. Combining this withdisablePrefixOnAttributes
helps narrow down fuzzy matches.
-
Proper nouns or intentionally misspelled titles, such as movie names or creative brand names.
Instead, use
disableTypoToleranceOnWords
or 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.