mirror of https://github.com/apache/lucene.git
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:
parent
a5cb916621
commit
0a39c6131b
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue