setDisableExactOnAttributes method

AlgoliaQuery setDisableExactOnAttributes(
  1. List<String> value
)

DisableExactOnAttributes

List of attributes on which you want to disable the exact ranking criterion.

Usage notes:

  • The list must be a subset of the searchableAttributes index setting.
  • searchableAttributes must not be empty nor null for disableExactOnAttributes to be applied.

Source: Learn more

Implementation

AlgoliaQuery setDisableExactOnAttributes(List<String> value) {
  assert(value.isNotEmpty, 'value can not be empty');
  assert(!_parameters.containsKey('disableExactOnAttributes'));
  return _copyWithParameters(
      <String, dynamic>{'disableExactOnAttributes': value});
}