You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
Hi,
I am using below query to get all possible paths between two nodes:
START a=node:node_auto_index(name="A"), m=node:node_auto_index(name="M") MATCH p=a-[*]-m WHERE ALL(r in RELS(p) WHERE (r.value >=200 OR r.value=0)) RETURN p ORDER BY length(p) desc limit 20
This query returns the results with loops as well i.e. paths contains loop. How can I restrict this to return only simple paths.
Br ,
Rehan
Rehan
unread,
Oct 9, 2012, 6:20:39 AM10/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
UpDate:
My Nodes have multiple relationships of same type with each other.
Peter Neubauer
unread,
Oct 9, 2012, 10:38:02 AM10/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message