Neo4j PageRank algorithm is not working

The documentation you're referring to is for the Graph Algorithms library so you want to use the procedures from that plugin - they all start with algo. rather than apoc.

In this case it'd be:

CALL algo.pageRank.stream("Subject", null) YIELD nodeId, score
RETURN algo.getNodeById(nodeId), score
ORDER BY score DESC
LIMIT 10
1 Like