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.
Syntax Error at ORDER BY clause ->
https://neo4j.com/docs/graph-algorithms/current/algorithms/degree-centrality/#algorithms-degree-syntax
Instead of followers it should be weightedFollowers
5.7.4. Weighted Degree Centrality algorithm sample
CALL algo.degree.stream("User", "FOLLOWS", {direction: "incoming", weightProperty: "score"}) YIELD nodeId, score RETURN algo.asNode(nodeId).id AS name, score AS weightedFollowers ORDER BY followers DESC
CALL algo.degree.stream("User", "FOLLOWS", {direction: "incoming", weightProperty: "score"}) YIELD nodeId, score RETURN algo.asNode(nodeId).id AS name, score AS weightedFollowers ORDER BY weightedFollowers DESC
The text was updated successfully, but these errors were encountered: