You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I executed procedure from the title on the graph given in the following example and when distance parameter is higher that 1 it returns strange result, including starting node.
@kubaizak
I was unable to replicate the problem, the procedure returns (p:Person {name: "Mark"}) and (p:Person {name: "Joe"}).
Can you try with the latest APOC version?
Guidelines
I executed procedure from the title on the graph given in the following example and when distance parameter is higher that 1 it returns strange result, including starting node.
Expected Behavior (Mandatory)
{name: "Mark"}, {name: "Joe"}
Actual Behavior (Mandatory)
{name: "Mark"}, {name: "Praveena"}
How to Reproduce the Problem
MATCH (p:Person {name: "Praveena"})
CALL apoc.neighbors.tohop(p, "FOLLOWS>", 2)
YIELD node
RETURN node
Simple Dataset (where it's possibile)
MERGE (mark:Person {name: "Mark"})
MERGE (praveena:Person {name: "Praveena"})
MERGE (joe:Person {name: "Joe"})
MERGE (lju:Person {name: "Lju"})
MERGE (michael:Person {name: "Michael"})
MERGE (emil:Person {name: "Emil"})
MERGE (ryan:Person {name: "Ryan"})
MERGE (ryan)-[:FOLLOWS]->(joe)
MERGE (joe)-[:FOLLOWS]->(mark)
MERGE (mark)-[:FOLLOWS]->(emil)
MERGE (michael)-[:KNOWS]-(emil)
MERGE (michael)-[:KNOWS]-(lju)
MERGE (michael)-[:KNOWS]-(praveena)
MERGE (emil)-[:FOLLOWS]->(joe)
MERGE (praveena)-[:FOLLOWS]->(joe)
Steps (Mandatory)
Screenshots (where it's possibile)
Specifications (Mandatory)
Currently used versions
Versions
The text was updated successfully, but these errors were encountered: