Skip to main content
The customNormalization parameter lets you define how Algolia should transform specific characters.

Usage

  • The input of a custom normalization must contain a single character.
  • The output of a custom normalization must have at most two characters.
  • Doesn’t apply to decomposed Unicode characters that use combining marks.
    For example:
    • You cannot normalize ü if it’s encoded as u (U+0075) + ◌̈ (U+0308).
    • You can normalize ü if it’s the represented by the character ü (U+00FC).

Example

Current API clients

IndexSettings settings = new IndexSettings();

settings.CustomNormalization =
new Dictionary>
{
  { "default", new Dictionary { {"ä", "ae"} } }
};

index.SetSettings(settings);
IndexSettings settings = new IndexSettings();

settings.CustomNormalization =
new Dictionary>
{
  { "default", new Dictionary { {"ä", "ae"} } }
};

index.SetSettings(settings);
I