lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <>
Subject Re: Pylucene
Date Thu, 26 Feb 2009 07:52:43 GMT

On Wed, 25 Feb 2009, Andi Vajda wrote:

> On Wed, 25 Feb 2009, Bill Janssen wrote:
>> Bill Janssen <> wrote:
>>> I'm trying to wrap neo4j ( with JCC (2.1, the latest 
>>> checkout from
>>> Subversion).
>>> I can't; it fails on org.neo4j.impl.core.RelationshipType
>>> (
>> This looks like a JCC bug to me.  There are two interfaces in that
>> package, "Relationship", and "RelationshipType".  I think it's
>> auto-generating a Python type called "RelationshipType" as part of the
>> definition of "Relationship", and that conflicts with the header file
>> for the Java interface "RelationshipType".
> Indeed, there is a clash between JCC's suffixing things it generates with 
> 'Type' and that class name. JCC should use something more rare, such as 
> '__Type', for example, or, better yet, allow a parameter to specify the 
> suffix. At least, it should be less hardcoded than now.
> While the fix is relatively easy to implement, it requires a lot of edits.
> I should have something tomorrow.

I changed the 'Type' suffix used to name Python types to '$$Type'.
neo4j now lets itself be wrapped. Fixed in rev 748053.


View raw message