Hi, I'm not sure that's rightly. Because Russian unicode charset, KOI charset and win1251 charset is equal in use. May be unicode charset is less common. I guess so Russian Analyser hasn't no-arg constructor.
Pasha Bizhan http://www.LuceneDotNet.com > -----Original Message----- > From: Erik Hatcher [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 25, 2004 17:23 > To: Lucene Users List > Subject: Re: Using Russian analyzer in Luke > > > On Jan 24, 2004, at 6:44 PM, Pasha Bizhan wrote: > > Luke use default ctor for Analyser, but Russian Analyser doesn't > > contain it. > > And German Analyser too - try Luke and the error will be the same. > > > > You can add this code into RussianAnalyzer.java and enjoy: > > public RussianAnalyzer() { > > this.charset = RussianCharsets.UnicodeRussian; > > stoptable = > > > StopFilter.makeStopTable(makeStopWords(RussianCharsets.UnicodeRussian) > > ) > > ; > > } > > > > GermanAnalyzer has a no-arg constructor - Luke can use it > fine. I've just added the no-arg constructor to the > RussianAnalyzer as you've specified above. Thanks! > > Erik > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
