- Type:
list<enum<string>>
- Default:
["ignorePlurals", "singleWordSynonym"]
- Scope:
settings,search
alternativesAsExact
parameter defines which types of query word alternatives should be treated as exact matches by the Exact ranking criterion.
By default, plural forms (with ignorePlurals
) and single-word synonyms are considered exact. You can extend or limit this behavior based on your use case.
For more information, see:
Options
ignorePlurals
Treats plural and inflected forms (enabled by
ignorePlurals
) as exact matches.singleWordSynonym
Treats single-word synonyms (for example,
"NY"
= "NYC"
) as exact matches.multiWordsSynonym
Treats multi-word synonyms (for example,
"NY"
= "New York"
) as exact matches.Examples
Current API clients
Current API clients
Legacy API clients
Legacy API clients