I have the simplest cypher ever:
MATCH(n) RETURN n
But this cypher returns 1 million data and it takes too long (sometimes it doesn't even finish, the app just crashes). I read that I can use
apoc.cypher.parallel for better performance but it throws an error and I can't use it. After running
apoc.cypher.parallel("MATCH(n) RETURN n") I get the error:
Invalid input 'p': expected 'l/L' (line 1, column 2 (offset: 1)) "apoc.cypher.parallel("MATCH(n) RETURN n")" ^
Is there a way to fix this error or more importantly, is there a way to parallelise the query on the other way?