On Fri, Jul 27, 2012 at 6:49 AM, S B
<stefan...@rechaoss.com> wrote:
Hi,being quite new to neo4j and graph databases in general I'm struggling a lot to grasp the product and different concepts (traverse vs. traversal, cypher, gremlin). But there is one thing that startles me, the reference node.
As I read on github [1], the reference node is now not created by default (I understand the motivation to start with an empty database) but that raises two questions for me :
* How do I create a reference node? I think it's impossible through REST and I don't know how to do it with neo4j.py
The reference node should still be there, with ID 0. But we don't recommend that you use it,
* If I'm not using a reference node, what is the best practice or a use case to find my top nodes?
Indexes help you find nodes - when you create them, put them in an index. That should be very easy with the python tools.
Cheers
Julian.
In your answers, keep in mind that I'm accessing neo4j through python (either neo4.py or neo4jrestclient).
Stefan