setSynonyms method
Synonyms
Whether to take into account an index’s synonyms for a particular search.
This setting overrides the default query behavior, which is to use all defined synonyms on every search. By setting this to false, you are disabling synonyms for the given query. True is the engine default.
Source: Learn more
Implementation
AlgoliaQuery setSynonyms({bool enabled = false}) {
assert(!_parameters.containsKey('synonyms'));
return _copyWithParameters(<String, dynamic>{'synonyms': enabled});
}