[Neo4j] Root Node

Michael Hunger michael.hunger at neotechnology.com
Sun Feb 20 22:24:44 CET 2011

One purpose of the reference not is that you don't have to rely on indexing for getting to certain nodes. 

If you connect your nodes to the reference node in a way that puts them in certain categories you can always get to them via traversal.
Connections to the reference node are also used for visualization (e.g. for Neoclipse)



From the docs of the method:
Node getReferenceNode()
Returns the reference node, which is a "starting point" in the node space. Usually, a client attaches relationships to this node that leads into various parts of the node space. For more information about common node space organizational patterns, see the design guide at http://wiki.neo4j.org/content/Design_Guide.

Specifically: http://wiki.neo4j.org/content/Design_Guide#Subreferences

Am 20.02.2011 um 21:19 schrieb Mark Nijhof:

> Hi,
> Silly question perhaps, but what is the purpose of the root node? Why would
> I want to get it?
> -Mark
> -- 
> Mark Nijhof
> m: 0047 95 00 99 37
> e:  mark.nijhof at cre8ivethought.com
> b:  cre8ivethought.com/blog/index
> "Walking on water and developing software from a specification are easy if
> both are frozen."
> -- Edward V Berard
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

More information about the User mailing list