Skip to content

Commit

Permalink
Change deprecation log level to critical
Browse files Browse the repository at this point in the history
  • Loading branch information
cbuescher committed Sep 30, 2024
1 parent 772dc3c commit e685abb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit e685abb

Please sign in to comment.