- 从https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases下载相应版本jar包,放到neo4j目录的plugins文件夹下。
- 修改 conf目录下的配置文件 neo4j.conf ,加一行:
dbms.security.procedures.unrestricted=algo.*
- 重启neo4j:
- 在页面执行此命令,查看是否安装成功,安装成功即会显示各算法的介绍:
CALL algo.list()
dbms.security.procedures.unrestricted=algo.*
CALL algo.list()