Enum SnowballStemmerName
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Search
- Assembly
- MongoDB.EntityFrameworkCore.dll
Names of Snowball stemmer algorithms supported by the MongoDB search Snowball stemming token filter.
public enum SnowballStemmerName
Fields
Arabic = 0Arabic Snowball stemmer: light stemming with Arabic‑specific normalization.
Armenian = 1Armenian Snowball stemmer: suffix stripping for Armenian.
Basque = 2Basque Snowball stemmer: Basque morphology handling with conservative suffix removal.
Catalan = 3Catalan Snowball stemmer: reduces common Catalan inflections.
Danish = 4Danish Snowball stemmer: Danish diacritics and inflectional endings.
Dutch = 5Dutch Snowball stemmer: handles Dutch plural and verb endings.
English = 6English Snowball stemmer (Porter2): improved Porter algorithm for English.
Estonian = 7Estonian Snowball stemmer: Estonian inflectional endings.
Finnish = 8Finnish Snowball stemmer: strong morphological reduction for Finnish.
French = 9French Snowball stemmer: accents handling and common French suffixes.
German = 10German Snowball stemmer: standard German stemming rules.
German2 = 11German2 Snowball stemmer: alternative German algorithm with different suffix rules.
Hungarian = 12Hungarian Snowball stemmer: removes frequent Hungarian suffixes and case endings.
Irish = 13Irish Snowball stemmer: Irish‑specific normalization and suffix stripping.
Italian = 14Italian Snowball stemmer: reduces common Italian inflections.
Lithuanian = 15Lithuanian Snowball stemmer: Lithuanian inflectional endings.
Norwegian = 16Norwegian Snowball stemmer: stemming for Norwegian (Bokmål/Nynorsk).
Porter = 17Porter stemmer (classic English): original Porter algorithm; more aggressive and older than Porter2.
Portuguese = 18Portuguese Snowball stemmer: handles Portuguese plural, gender, and verb endings.
Romanian = 19Romanian Snowball stemmer: Romanian diacritics and suffix removal.
Russian = 20Russian Snowball stemmer: Cyrillic support with Russian inflectional endings.
Spanish = 21Spanish Snowball stemmer: reduces common Spanish suffixes and verb conjugations.
Swedish = 22Swedish Snowball stemmer: Swedish plural and inflectional endings.
Turkish = 23Turkish Snowball stemmer: stemming with Turkish‑specific casing and vowel harmony considerations.
Remarks
Snowball stemming reduces words to their stems according to language‑specific morphological rules (e.g., "running" → "run"). Choose the stemmer that matches the language of the text you index to improve recall while keeping relevant terms grouped together. For details, see MongoDB Search Snowball stemming token filter and the Snowball project: https://www.mongodb.com/docs/atlas/atlas-search/analyzers/token-filters/snowball-stemming/, https://snowballstem.org/.