我在使用 APOC 和 Graph Algorithms 插件时遇到了一些问题。我按照指示将 .jars 文件放置在 {NEO4j_HOME}/plugins
中,并且还更改了我的 {NEO4j_HOME}/conf/neo4j.conf
文件中的设置。
dbms.directories.data=/Users/mlo/neo4j-community-3.3.1/data
dbms.directories.plugins=/Users/mlo/neo4j-community-3.3.1/plugins
dbms.directories.certificates=/Users/mlo/neo4j-community-3.3.1/certificates
dbms.directories.logs=/Users/mlo/neo4j-community-3.3.1/logs
dbms.directories.lib=/Users/mlo/neo4j-community-3.3.1/lib
dbms.directories.run=/Users/mlo/neo4j-community-3.3.1/run
dbms.security.auth_enabled=false
dbms.security.procedures.unrestricted=algo.*
dbms.security.procedures.unrestricted=apoc.*
有几个程序可行。
CALL apoc.help('dijkstra')
CALL algo.list()
然而,大多数存储过程根本不起作用。
Neo.ClientError.Procedure.ProcedureRegistrationFailed
algo.unionFind is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
algo.pageRank is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
有人能指出我的设置哪里错了吗?谢谢。
dbms.security.procedures.unrestricted=algo.*,apoc.*,spatial.*
。 - qualebs