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
{{ message }}
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
The results of the below 2 queries should be the same as the only difference is the type, i.e. heavy and cypher:
CALL algo.betweenness.stream(
'城市',
'铁路连接|公路连接',
{direction:'both'}
)
YIELD nodeId, centrality
RETURN algo.asNode(nodeId).name AS node, centrality
ORDER BY centrality DESC
CALL algo.betweenness.stream(
'MATCH (n:城市) RETURN id(n) AS id',
'MATCH (n:城市) -[:铁路连接|公路连接]-> (n1) RETURN id(n) AS source, id(n1) AS target',
{graph:'cypher',direction:'both'}
)
YIELD nodeId, centrality
RETURN algo.asNode(nodeId).name AS node, centrality
ORDER BY centrality DESC
Both have returned 151 records but with quite different ordering and scores.
What did I miss?
The text was updated successfully, but these errors were encountered: