Unknown function 'algo.getNodeById'

余生长醉 提交于 2019-12-06 04:50:17

Some of the older versions of algorithms don't have algo.getNodeById() included. If you can try to use the latest graph algorithms, not sure how this works with Neo4j Desktop, but I would try to reinstall them. You could also upgrade your Desktop version.

If none of this is available remember that algo.getNodeById() just matches the node by its internal ID and you can get the same functionality by using the following.

CALL algo.unionFind.stream('', ':REL', {})
YIELD nodeId,setId

MATCH (node) where id(node) = nodeId
RETURN node.id AS user, setId
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!