setIndexLanguages method

AlgoliaQuery setIndexLanguages(
  1. List<String> value
)

IndexLanguages

Sets the languages at the index level for language-specific processing such as tokenization and normalization. At indexing time, the parameter sets the dictionary and algorithms for word-detecting in the provided language. At the moment, the only supported language is Japanese. Setting “ja” enables typo-tolerance in Japanese and improves the relevance when indexing documents with long attributes.

Source: Learn more

Implementation

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