I am executing following query:
MATCH (e:COMP) WHERE e.componentID= "f4db22e7-68d2-473d-960b-c98dbbadb3a0"
with e limit 1 CALL apoc.path.subgraphAll(e,
{relationshipFilter:'CHILD_OF|CONNECTED_TO|LINKED_TO', limit:10}) YIELD nodes
UNWIND nodes as node RETURN node.componentID as uuid, node.orphanID as oid,
node.cTime as time
I was expecting that i will get 10 rows but I am getting more than 300 rows. Not sure if I am missing something here?
Actually in my graph there can be 100,000 nodes related with these relationship (CHILD_OF,CONNECTED_TO,LINKED_TO). In that case I just want to limit result to 1000.