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" <fr...@studyblue.com> 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 > 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