Hi,
I'm going to load a huge graph. After playing with some test cases, I found 
that when a new relationship add to the graph, it does not overwrite the 
previous relation and when printing the relationships, redundant items are in 
the output. I don't want such a redundant items! f.ex. suppose the following 
code:
            Node alex = index.getSingleNode("name", "alex");
            for(Relationship r: alex.getRelationships())
                System.out.println(r.getEndNode().getId());
Here is the output:
1
1
1
1
2

It seems that I have to check the current relationships before any update, 
Isn't it?
Amir



      
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to