Pasha Bizhan wrote:
Hi,
From: Ivan Kozlov [mailto:[EMAIL PROTECTED]
I tryed Luke to try to search in my Lucene database and discovered
that when I try to select russian analyzer it shows me next error:
--
It's Luke's feature. And Russian language specific - 3 (and more) charset
for
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 =
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
On Jan 25, 2004, at 2:53 PM, Pasha Bizhan wrote:
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 - my apologies, but I'm not
Hi,
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
On Jan 25, 2004, at 2:53 PM, Pasha Bizhan wrote:
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
On Jan 25, 2004, at 5:36 PM, Pasha Bizhan wrote:
My code is only example and RussianCharsets.RussianUnicode too.
We use RussianCharsets.CP1251. But other people can use other charset.
I think that Russian Analyser must not has no-arg constructor.
The choise of default charset is not evident.
The
Hi,
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
I'd like to keep the no-arg constructor there, but perhaps if
there is a more commonly used character set than
RussianUnicode we could switch to that.
Any objections?
It's crucial decision and it's a good reason for new holy war :))
Hello lucene-user,
I tryed Luke to try to search in my Lucene database and discovered
that when I try to select russian analyzer it shows me next error:
--
java.lang.NoSuchMethodException: org.apache.lucene.analysis.ru.RussianAnalyzer.init()
at
Hi Ivan,
I tryed Luke to try to search in my Lucene database and discovered
that when I try to select russian analyzer it shows me next error:
--
java.lang.NoSuchMethodException:
org.apache.lucene.analysis.ru.RussianAnalyzer.init()
at java.lang.Class.getConstructor0(Unknown