In Spring Data Graph we did this by indexing the relationships by type 

index.forRelationships("relTypes").add(rel,"types",rel.getType())

Michael

Sent from my iBrick4


Am 27.05.2011 um 17:56 schrieb Chris Baranowski <[email protected]>:

> In http://wiki.neo4j.org/content/Design_Guide under the section "Organizing
> your graph" -> "Subreferences" it's recommended to use a subreference to
> maintain a collection of all nodes of a type ("orders", in the example). I'm
> doing this for my nodes, however I'd also like to maintain collections of my
> various types of relationships. Since I can't create a relationship between
> my subreference (a node) and a relationship, how can I accomplish this?
> 
> Chris
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to