setSeparatorsToIndex method
- @Deprecated('This method is deprecated, not part of query parameters')
- String value
SeparatorsToIndex
Control which separators are indexed. Separators are all non-alphanumeric characters except space.
Usage notes:
- By default, separators are not indexed.
- Here is a non-exhaustive list of separators frequently used by our customers:
!#()[]{}*+-_一,:;<>?@/\^|%&~£¥$§€`''‘’“”†‡
- The search API treats separator characters as separate words. If you search “Google+” for example, the search API considers “Google” and “+” as two separate words, and counts as a match on two words in getRankingInfo.
Source: Learn more
Implementation
@Deprecated('This method is deprecated, not part of query parameters')
AlgoliaQuery setSeparatorsToIndex(String value) {
assert(value.isNotEmpty, 'value can not be empty');
assert(!_parameters.containsKey('separatorsToIndex'));
return this;
}