diff --git a/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java b/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java index a20e3a67c08..9fa249a4bce 100644 --- a/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java +++ b/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java @@ -224,6 +224,13 @@ public final class RussianAnalyzer extends Analyzer */ private char[] charset; + + public RussianAnalyzer() { + charset = RussianCharsets.UnicodeRussian; + stoptable = StopFilter.makeStopTable( + makeStopWords(RussianCharsets.UnicodeRussian)); + } + /** * Builds an analyzer. */