[Neo] HowTo for the Java impaired?

2009-07-31 Thread Rich Morin
Having downloaded neo4j-apoc-0.1 to my Mac, I'm ready to start up Neo4j and start playing. So I go to the Getting Started Guide (http://wiki.neo4j.org/content/Getting_Started_Guide) and see: This document will guide you through your very first Neo application. It assumes that you're familiar

Re: [Neo] Searching 'links', based on their attributes ? [SOLUTION]

2009-07-31 Thread sebastien nichele
Mattias, Ok well, after a little bit of greymatter work, I finally got it. I didn't realized that links provides reachability of the nodes, not "filtering" of the nodes. Since all nodes are linked to a root node, i can reach all nodes by traversing from rootnode only on CONTAINS links. I have th

[Neo] RE : RE : Searching 'links', based on their attributes ? - I tried the 'super node' connection.

2009-07-31 Thread sebastien nichele
Hi Mattias, Thank you very much for you quick answer ! :) In fact, I tried your solution. Here is a code snippet with just a few nodes (only one distinct "object graph" in it) : public void testTraversing() { Transaction tx = neo.beginTx(); Node world; Node n1;

Re: [Neo] Searching 'links', based on their attributes ?

2009-07-31 Thread Mattias Persson
Hi Sebastian, I'm not sure I really grasp your problem, but one solution that seems appropriate would be to connect all those object graphs to one "super root node" of your choice. So that you create this super root node, maybe connect it to the neo reference node and let all your object graphs ha

[Neo] Searching 'links', based on their attributes ?

2009-07-31 Thread sebastien nichele
Hi, I'm currently evaluating neo4j and I'am really satisfied/impressed by it. However, I'm asking myself several questions. In my "node space" I have several dissocied objects graphs. Links between nodes bears two attributes "startDate" and "endDate". At one time, i want to display all nodes i