indexLanguages parameter sets the languages of your indexed content.
Algolia uses them to apply processing such as
tokenization, normalization, and filtering during indexing.
For a list of supported language ISO code, see Supported languages.
Usage
-
Always set both
indexLanguagesandqueryLanguages, so indexing and search work the same way. -
If
indexLanguagesisn’t set:- Algolia uses the value of
ignorePluralsorremoveStopWords, if defined - Otherwise, it applies all supported language settings, which may lead to unexpected results
- Algolia uses the value of
Example
Current API clients
Current API clients
Legacy API clients
Legacy API clients