alternativesAsExact property
Determine which plurals and synonyms should be considered an exact matches. By default, Algolia treats singular and plural forms of a word, and single-word synonyms, as exact matches when searching. For example: - "swimsuit" and "swimsuits" are treated the same - "swimsuit" and "swimwear" are treated the same (if they are synonyms). - ignorePlurals
. Plurals and similar declensions added by the ignorePlurals
setting are considered exact matches. - singleWordSynonym
. Single-word synonyms, such as "NY" = "NYC", are considered exact matches. - multiWordsSynonym
. Multi-word synonyms, such as "NY" = "New York", are considered exact matches.
Implementation
@JsonKey(name: r'alternativesAsExact')
final List<AlternativesAsExact>? alternativesAsExact;