Frank,
Do you have a minimal test case reproducing this?

/peter

Sent from my phone, please excuse typos and autocorrection.
On Dec 2, 2011 9:12 PM, "Frank" <fr...@studyblue.com> wrote:

> Thanks for the reply.
>
> I *think* that what I need is to do is this:
>
> Relationship relationship = relationshipIndex.get("signature", signature,
> lastNode, null).getSingle();
>
> If I understand the documentation correctly, this should return only the
> relationships attached to the node "lastNode" that have the value I'm
> asking for.
>
> Unfortunately, my attempt to use this function results in the following
> exception:
>
> java.lang.UnsupportedOperationException
>        at
> org.neo4j.rest.graphdb.index.RestRelationshipIndex.get(RestRelationshipIndex.java:42)
>
> I'm kind of stuck at this point. Any ideas?
>
> Frank
>
> On Dec 2, 2011, at 1:59 PM, Peter Neubauer [via Neo4j Community
> Discussions] wrote:
>
> > Frank,
> > Either you could put just some of the rels into the index, or maybe have
> an
> > additional property in the index for the direction?
> >
> > /peter
> >
> > Sent from my phone, please excuse typos and autocorrection.
> > On Dec 2, 2011 8:28 PM, "Frank" <[hidden email]> wrote:
> >
> > > I'm having some trouble understanding relationship indexes.
> > >
> > > I plan to have nodes with many (hundreds, sometimes thousands) of
> > > relationships to other nodes.
> > >
> > > Give node N, I want to be able to quickly locate one of those
> relationships
> > > given a key. I want to consider only the outgoing relationships of that
> > > node, not all nodes.
> > >
> > > Can this be accomplished? The problem I'm seeing is that when I try to
> look
> > > up a relationship from a RelationshipIndex, I don't see how to limit
> that
> > > lookup to just the outgoing relationships of one node.
> > >
> > > --
> > > View this message in context:
> > >
> http://neo4j-community-discussions.438527.n3.nabble.com/Relationship-indexes-tp3555465p3555465.html
> > > Sent from the Neo4j Community Discussions mailing list archive at
> > > Nabble.com.
> > > _______________________________________________
> > > Neo4j mailing list
> > > [hidden email]
> > > https://lists.neo4j.org/mailman/listinfo/user
> > >
> > _______________________________________________
> > Neo4j mailing list
> > [hidden email]
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> >
> > If you reply to this email, your message will be added to the discussion
> below:
> >
> http://neo4j-community-discussions.438527.n3.nabble.com/Relationship-indexes-tp3555465p3555523.html
> > To unsubscribe from Relationship indexes, click here.
> > NAML
>
>
>
> --
> View this message in context:
> http://neo4j-community-discussions.438527.n3.nabble.com/Relationship-indexes-tp3555465p3555547.html
> Sent from the Neo4j Community Discussions mailing list archive at
> Nabble.com.
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to