No, it isn't needed.  It is very helpful as an "attachment point" for other 
nodes and point of entry for traversals, but it isn't required.

-----Original Message-----
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of Javier de la Rosa
Sent: Saturday, August 27, 2011 12:14 PM
To: Neo user discussions
Subject: [Neo4j] Set reference node through REST API

Hi all,

As far I know, the REST API always returns a reference node. But in
case of I delete it, there's no option to set it again through REST
API. I read in this list that you could do this in Java like next:
  graph.delete();
  newRoot = neo4j.createNode();
  neo4j.setReferenceNode(newRoot);

But I don't know the way to do this using the REST API. Even if I
don't delete it anything, I would have to be able to set the reference
node to a node of my preference.

I know that was discussed previously, but is the reference node really needed?

Regards.

-- 
Javier de la Rosa
http://versae.es
_______________________________________________
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