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

Can be used in these methods:

About this parameter

List of words on which you want to disable typo tolerance. This also disables splitting and concatenation on the specified words.

Examples

Set list of words on which typo tolerance need to be disabled

1
2
3
4
5
6
$index->setSettings([
  'disableTypoToleranceOnWords' => [
    'wheel',
    '1X2BCD'
  ]
]);

Did you find this page helpful?