🎉 Try the public beta of the new docs site at algolia.com/doc-beta! 🎉
API Reference / API Parameters / customNormalization
Type: object
Engine default: {}
Parameter syntax
'customNormalization' => [
  'default' => [
    'ä' => 'ae'
  ]
]

Can be used in these methods:

About this parameter

Override the default normalization handled by the engine.

This parameters lets you override the engine’s default normalization by providing a custom normalization.

Usage notes

Examples

Set a custom normalization

1
2
3
4
5
6
7
$index->setSettings([
    'customNormalization' => [
        'default' => [
            'ä' => 'ae'
        ]
    ]
]);
Did you find this page helpful?