lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api
Date Tue, 18 May 2010 17:26:53 GMT

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..

Mime
View raw message