allowTyposOnNumericTokens
true
      'allowTyposOnNumericTokens' => true|false
    Can be used in these methods:
    
        
          search,
        
        
          setSettings,
        
        
          browseObjects,
        
        
          searchForFacetValues,
        
        
          generateSecuredApiKey,
        
        
          addApiKey,
        
        
          updateApiKey
        
        
          search,
        
        
          set_settings,
        
        
          browse_objects,
        
        
          search_for_facet_values,
        
        
          generate_secured_api_key,
        
        
          add_api_key,
        
        
          update_api_key
        
        
          search,
        
        
          setSettings,
        
        
          browseObjects,
        
        
          searchForFacetValues,
        
        
          generateSecuredApiKey,
        
        
          addApiKey,
        
        
          updateApiKey
        
        
          search,
        
        
          set_settings,
        
        
          browse_objects,
        
        
          search_for_facet_values,
        
        
          generate_secured_api_key,
        
        
          add_api_key,
        
        
          update_api_key
        
        
          search,
        
        
          setSettings,
        
        
          browse,
        
        
          searchForFacetValues,
        
        
          generateSecuredApiKey,
        
        
          addAPIKey,
        
        
          updateAPIKey
        
        
          search,
        
        
          setSettings,
        
        
          browseObjects,
        
        
          searchForFacetValues,
        
        
          generateSecuredApiKey,
        
        
          addApiKey,
        
        
          updateApiKey
        
        
          Search,
        
        
          SetSettings,
        
        
          Browse,
        
        
          SearchForFacetValues,
        
        
          GenerateSecuredApiKey,
        
        
          AddApiKey,
        
        
          UpdateApiKey
        
        
          Search,
        
        
          setSettings,
        
        
          browse,
        
        
          searchForFacetValues,
        
        
          generateSecuredApiKey,
        
        
          addApiKey,
        
        
          updateApiKey
        
        
          Search,
        
        
          SetSettings,
        
        
          BrowseObjects,
        
        
          SearchForFacetValues,
        
        
          GenerateSecuredAPIKey,
        
        
          AddAPIKey,
        
        
          UpdateAPIKey
        
        
          search,
        
        
          setSettings,
        
        
          browse index,
        
        
          search into facet values,
        
        
          generateSecuredApiKey,
        
        
          add key,
        
        
          update key
        
  
About this parameter
Whether to allow typos on numbers (“numeric tokens”) in the query string.
This option can be useful on numbers with special formatting, like serial numbers and zip codes.
Usage notes
When false, typo tolerance is disabled on numbers.
For example, the query 304 will match 30450 but not 40450
(which would have been the case with typo tolerance enabled).
Examples
Disable typos on numbers by default
1
2
3
$index->setSettings([
  'allowTyposOnNumericTokens' => false
]);
      Disable typos on numbers for the current search
1
2
3
$results = $index->search('query', [
  'allowTyposOnNumericTokens' => false
]);