disableTypoToleranceOnWords
'disableTypoToleranceOnWords' => [ 'word', ... ]
Can be used in these methods:
setSettings
set_settings
setSettings
set_settings
setSettings
setSettings
SetSettings
setSettings
SetSettings
setSettings
About this parameter
A list of words for which you want to turn off typo tolerance.
Turning off typo tolerance for this list also turns off splitting and concatenation on the specified words.
There’s no limit to the number of words in the list, but having many words slows down calls to getSettings
. This can make the Algolia dashboard slower and less responsive.
Examples
Set a list of words for which typo tolerance will be turned off (wheel
and 1X2BCD
in this example).
1
2
3
4
5
6
$index->setSettings([
'disableTypoToleranceOnWords' => [
'wheel',
'1X2BCD'
]
]);