- Type:
boolean | list<enum<string>>
- Default:
false
- Scope:
settings,search
ignorePlurals
parameter controls whether Algolia treats singular, plural, and other inflected forms as equivalent.For example,
"car"
matches "cars"
and "child"
matches "children"
.
For more information, see Ignoring plurals and other forms.
Options
true
Treat plural and inflected forms as equivalent for all supported languages.
If
queryLanguages
is set, only those languages are affected.false
Plurals and other declensions will be treated as separate words.
list<enum<string>>
List of languages (as ISO 639-1 codes) for which plural and inflected forms should be treated as equivalent.
Overrides any language(s) set in
queryLanguages
.
See the list of supported languages.Usage
- You should only turn on
ignorePlurals
for languages used in your data. - If
ignorePlurals
is set totrue
without specifyingqueryLanguages
, Algolia enables plural normalization for all supported languages. This may lead to unexpected matches. For example, the French word"chair"
(meaning “flesh”) may match"chairs"
in English.