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
AlgoliaQuery setDisableTypoToleranceOnAttributes(List<String> value) {
assert(value.isNotEmpty, 'value can not be empty');
assert(!_parameters.containsKey('disableTypoToleranceOnAttributes'));
return _copyWithParameters(
<String, dynamic>{'disableTypoToleranceOnAttributes': value});
}