Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-30-2020 11:05 AM
I realised that procedure apoc.neighbors.tohop is broken.
I tried it on the graph given in the following example and when distance parameter is higher that 1 it returns strange result, including starting node.
I tried example from the link above and after executing query
MATCH (p:Person {name: "Praveena"})
CALL apoc.neighbors.tohop(p, "FOLLOWS>", 2)
YIELD node
RETURN node
we get: {name: "Mark"} and {name: "Praveena"}
instead of: {name: "Mark"} and {name: "Joe"}
03-30-2020 11:21 AM
That seems to be a bug, can you please create a issue at https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues
03-30-2020 11:42 AM
All the sessions of the conference are now available online