Nodes() function returns relationships?
问题 I am new to Neo4j. I have installed version 2.2.5 community edition to my machine. Downloaded sample data set cineasts_12k_movies_50k_actors_2.1.6 . Followed the online training, all is good, except one query confused me a little. match p = shortestPath( (kevin {name:"Kevin Bacon"})-[*]-(keanu {name:"Keanu Reeves"}) ) return nodes(p) I was expecting that the returned values would only be the nodes. Reading the manual about nodes() it sounds like it should only return nodes. However I am