Could someone give me some hints about this? This query works:
match path=(n)-[*bfs..10]->(m)
return path limit 1;
however I get a memory limit exceed exception with this one:
match path=(n)-[*bfs..1000]->(m)
return path limit 1;
Shouldn't the second query result in the same path as in the first query? Considering the same dataset?