Hi Peter,
Please find below the Traverse I am using to find out the paths, when path
returned is more its taking more time and sometimes rest json results
truncating.. Suppose we can specify only certain number of paths need to be
returned. It will solve the issue, and also its our business requirement to
show number paths, say 20 paths
(I mean the first paths in the priority of maxdepth). How could I specify it in
the traverse.
{"order": "depth first","relationships": [
{
"type": "Friend",
"direction": "all"
}
],"return filter": {
"language": "javascript",
"body": "position.length() > 0 &&
position.lastRelationship().getProperty(\"customerId\",0) == 0"
},"max depth": 6,"algorithm": "allPaths","to":
"http://localhost:7474/db/data/node/546"}
--
Regards,
Justine K Mathews, MCSD.NET
Mob: +44-(0) 7795268546
http://www.justinemathews.com<http://www.justinemathews.com/>
http://uk.linkedin.com/in/justinemathews
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user