im using the below graphs to identify all possible paths between start to end nodes.
there are 6 possible paths, that' i've identified, between start and end. maybe i've missed. around 15 or 20 max is what i guess.
`
im using the below query to identify the shortest path, whish returns two shortests paths which is path 3 and 4 marked in the graph.
match (end:Device {ip : "x.x.58.129"}),
path = allShortestPaths((Device {ip : "x.x.58.2"}) -[*..30]- (end)
return path
but what i want is to return all the possible paths(can include duplicate nodes), which is like 6 paths marked in the graph image above. for that purpuse im using the query
match (end:Device {ip : "x.x.58.129"}),
path = (Device {ip : "x.x.58.2"}) -[*..30]- (end)
return path
so what i'm expecting is 20 paths, max, but suprisingly im getting around 12,000 paths. the query is taking forever to return ( maybe more than 15 mins ), also the returned JSON sizes upto 235 MB of size. im puzzeled what might go wrong here.