>> By the way, does the underlying code for index.get(kay, value, start, >> end) iterate over all the relationships of start and checks if one is >> connected to end, or it does perform a direct look up to get the edges >> between (start, end)? >> > > No looping, just a direct lookup. Maybe RelationshipIndex should have a > method: > > add( Relationship relationship ); > > which indexes that relationship (with its start/end node as usual) but w/o > any additional property. Would that be a good idea? >
Yes, definitely that is a very good idea. _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

