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.

call gds.graph.list() returned with java.util.NoSuchElementException after using gds.alpha.graph.pro

tom_chiu
Node Link

Neo4j desktop version: 1.4.15

Neo4j graph data science version: 2.15

Neo4j dbms version: 4.4.5

I am following the example used in gds.alpha.graph.project (https://neo4j.com/docs/graph-data-science/current/graph-project-cypher-aggregation/), together with call gds.graph.list() to check the in-memory graphs. It works fine until after executing the example cypher (below) in Section 2.3 Multi-Graph. 

MATCH (source)
WHERE source:Person OR source:Book
OPTIONAL MATCH (source)-[r:KNOWS|READ]->(target)
WHERE target:Person OR target:Book
WITH gds.alpha.graph.project(
'personsAndBooks',
source,
target,
{
sourceNodeLabels: labels(source),
targetNodeLabels: labels(target)
},
{
relationshipType: type(r)
}
) AS g
RETURN g.graphName AS graph , g.nodeCount AS nodes, g.relationshipCount AS rels

The above cypher was executed. But I got the following error when I tried call gds.graph.list().

tom_chiu_0-1661180666151.png

 

 

 

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online