diff --git a/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/StemmerTokenFilterFactory.java b/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/StemmerTokenFilterFactory.java index 07c5f5dcf39b6..9e1dddba82129 100644 --- a/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/StemmerTokenFilterFactory.java +++ b/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/StemmerTokenFilterFactory.java @@ -180,10 +180,10 @@ public TokenStream create(TokenStream tokenStream) { return new SnowballFilter(tokenStream, new LegacyGermanStemmer()); } } else if ("german2".equalsIgnoreCase(language)) { - DEPRECATION_LOGGER.warn( + DEPRECATION_LOGGER.critical( DeprecationCategory.ANALYSIS, "german2_stemmer_deprecation", - "The 'german2' stemmer has been deprecated and folged into the 'german' Stemmer. " + "The 'german2' stemmer has been deprecated and folded into the 'german' Stemmer. " + "Replace all usages of 'german2' with 'german'." ); return new SnowballFilter(tokenStream, new GermanStemmer());