add no-arg ctor for RussianAnalyzer - makes it easier for tools to use this analyzer

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150174 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2004-01-25 14:18:12 +00:00
parent a5cb916621
commit 0a39c6131b
1 changed files with 7 additions and 0 deletions

View File

@ -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.
*/