On Tue, 18 May 2010, Andi Vajda wrote:

I don't have this problem with my simple program.
My SillyAnalyzer class extends Lucene's Analyzer.
foo.Analyzer is the one imported from lucene.

 >>> import lucene, foo
 >>> lucene.initVM()
 <jcc.JCCEnv object at 0x1004100d8>
 >>> foo.initVM(".")
 <jcc.JCCEnv object at 0x100410180>
 >>> foo.SillyAnalyzer.helloWorld()
 Hello World
 >>> foo.SillyAnalyzer.class_
 <Class: class bar.SillyAnalyzer>
 >>> foo.Analyzer.class_
 <Class: class org.apache.lucene.analysis.Analyzer>

I reproduced the problem on Linux but not on Mac OS X.
I suspect some linker issue...

Andi..

Reply via email to