Table of Contents

Enum IcuNormalizationForm

Namespace
MongoDB.EntityFrameworkCore.Metadata.Search
Assembly
MongoDB.EntityFrameworkCore.dll

Unicode normalization forms supported by the ICU Normalization token filter in MongoDB search.

public enum IcuNormalizationForm

Fields

Nfd = 0

Normalization Form Decomposed (NFD): canonical decomposition only. Characters are expanded into base characters and combining marks; no compatibility folding.

Nfc = 1

Normalization Form Composed (NFC): canonical decomposition followed by canonical composition. Produces a preferred composed form where available; no compatibility folding.

Nfkd = 2

Normalization Form Compatibility Decomposed (NFKD): applies compatibility mappings and then decomposes. Useful when you want to remove distinctions such as font variants and ligatures.

Nfkc = 3

Normalization Form Compatibility Composed (NFKC): applies compatibility mappings, then composes. Produces a canonical, compatibility-folded composed form suitable for search and comparison.

Remarks

ICU normalization converts text into a canonical representation so that visually equivalent strings compare and sort consistently. Use these forms to control whether text is decomposed or composed and whether compatibility mappings are applied. For background on Unicode normalization, see Unicode Standard Annex #15. https://unicode.org/reports/tr15/