Hi can any one see what stupid mistake I am trying to use BFS return but it not return data. (running the latest image that you can pull from docker). I know the graph exist. I want to use BFS to remove cycles, and duplicate edges between nodes…
ResultSet resultSet = graph.query(graphID,“CALL algo.BFS ( 1 ,20,NULL) YIELD nodes as n, edges as e return n, e” );
1 is my start index of my start node node I believe is should be the index of the redisgraph node.
On a side note but related, i was doing some thing like the below as another path forward. Which seem to work, but concern about loop in the graph. When I add a loop in to the graph it seem to gard against loops, is their any more information about this.
ResultSet r2 = graph.query(graphID,"MATCH p=(a:resource {_id : _id })-[*1..20]-(:resource{_id: _idEnd}) return p ",params);