Hi, I'm running a large graph node. 265214 nodes and 420045 edges.
I'm using the traversal example from neo4j doc.
public String knowsTraverserforward( Node node )
{
String output = "";
// START SNIPPET: knowslikestraverser
for ( Path position : db.traversalDescription()
.depthFirst()
.relationships( Rels.KNOWS, Direction.OUTGOING )
// .evaluator( Evaluators.toDepth(10) )
.traverse( node ) )
{
output += position + "\n";
}
// END SNIPPET: knowslikestraverser
return output;
}
while i when i set the depth like 10, it take little time to output
now i delete the depth assumption, it take so long time to produce the
output (more than 20 minutes)
i using eclipse on windows to do this code.
is there something with my attempt?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.