- Type:
enum<string> | boolean
- Default:
true
- Scope:
settings,search
Usage
- Use
getRankingInfo
to inspect the typo count per record. - Algolia generally doesn’t return results with more than two typos, unless the first letter is mistyped.
By default, Algolia matches query terms at the beginning of words in your records (prefix matching). For alternatives, see Match queries in the middle or end of words.
Options
true | "true"
Typo tolerance is enabled for all attributes and query words (default behavior).
Accepts both
true
(boolean) and "true"
(string).
Also enables splitting and concatenation.false | "false"
Typo tolerance is off. Only exact matches will be returned.
Accepts both
false
(boolean) and "false"
(string).min
Applies typo tolerance but returns only the records with the fewest typos.
For example, if results include matches with one and two typos, only those with one typo are returned.
Also enables splitting and concatenation.
strict
Like
"min"
, but includes results with the fewest and second fewest typos.
Also forces the Typo ranking criterion to be evaluated first in the ranking formula.
Also enables splitting and concatenation.