I am attempting to execute a "shortestPath" cypher query in Neo4j but am encountering a strange difficulty. I should get "2 nodes" as the shortest path, however I get nothing.
MATCH p=shortestPath((charlize:Person)-[:KNOWS]-(bacon:Person))
WHERE charlize.name="Charlize Theron" AND bacon.name="Kevin Bacon"
RETURN length(p);
I do believe I'm running the latest version of Neo4j. Could this be an issue?
Regards!