setDisableTypoToleranceOnAttributes method
DisableTypoToleranceOnAttributes
List of attributes on which you want to disable typo tolerance.
Usage notes:
- The list must be a subset of the
searchableAttributes
index setting. - searchableAttributes must not be empty nor null for disableTypoToleranceOnAttributes to be applied.
Source: Learn more
Implementation
AlgoliaSettings setDisableTypoToleranceOnAttributes(List<String> value) {
assert(value.isNotEmpty);
assert(!_parameters.containsKey('disableTypoToleranceOnAttributes'));
return _copyWithParameters(
<String, dynamic>{'disableTypoToleranceOnAttributes': value});
}