API Reference / API Parameters / disableTypoToleranceOnWords
Type: list of strings
Engine default: []
Parameter syntax
'disableTypoToleranceOnWords' => [
  'word',
  ...
]

Can be used in these methods:

About this parameter

A list of words for which you want to turn off typo tolerance.

Turning off typo tolerance also turns off splitting and concatenation on the specified words.

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'
  ]
]);
Did you find this page helpful?