provide version in the english filter

This commit is contained in:
Shay Banon 2012-04-27 13:26:18 +03:00
parent a4fb33dbc3
commit 0fdfa5a581
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public class StemmerTokenFilterFactory extends AbstractTokenFilterFactory {
} else if ("minimal_english".equalsIgnoreCase(language) || "minimalEnglish".equalsIgnoreCase(language)) {
return new EnglishMinimalStemFilter(tokenStream);
} else if ("possessive_english".equalsIgnoreCase(language) || "possessiveEnglish".equalsIgnoreCase(language)) {
return new EnglishPossessiveFilter(tokenStream);
return new EnglishPossessiveFilter(version, tokenStream);
} else if ("light_finish".equalsIgnoreCase(language) || "lightFinish".equalsIgnoreCase(language)) {
return new FinnishLightStemFilter(tokenStream);
} else if ("light_french".equalsIgnoreCase(language) || "lightFrench".equalsIgnoreCase(language)) {