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: wrapping template types; neo4j
Date Sat, 28 Feb 2009 03:25:50 GMT

On Feb 27, 2009, at 19:05, Bill Janssen <janssen@parc.com> wrote:

> Andi Vajda <vajda@apache.org> wrote:
>
>>> For instance, the org.neo4j.api.core.Node
>>> class doesn't have the vital method  
>>> "hasRelationship(RelationshipType...)".
>>> In fact, it doesn't seem to have a number of methods, like
>>> "Iterable<Relationship> getRelationships()".
>>>
>>> So, this is (I suppose) a variant of the Java 5 stuff not being
>>> supported by PyLucene.
>>>
>>> Might be nice to have JCC fail more obviously in this case...
>>
>> No, this is different. It's not related to these Java 1.5 features.
>>
>> It's because java.lang.Iterable is not 'known' to that JCC invocation
>> by default.
>
> Should have known it was my fault :-).  But what about "..."?
> That's used in hasRelationship(), which is kind of vital.

Maybe you didn't see that message yet but ... works as expected. A  
wrapper for a method taking an array of the corresponding type is  
generated.

Andi..

>
>
> Bill

Mime
View raw message