cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Why I can only get 11 results when using GDS library DFS algorithm?

jayxu688
Node Link
MATCH (a:Artifact{gav:'org.slf4j:slf4j-api:1.7.21'})
WITH id(a) AS startNode
CALL gds.alpha.dfs.stream('myGraph1', {startNode: startNode})
YIELD path
UNWIND [ n in nodes(path) | n.gav ] AS tags
RETURN tags
ORDER BY tags

I run this cypher on my local db.
The result set should be huge, like near 1M.
But I only get 11 results back.
Why like this?

2 REPLIES 2

Can you post the result of "CALL apoc.meta.graph" ?

Also can you show the code that you used to create myGraph1?