在grapheneDB上正确配置图形数据科学插件。

问题描述 投票:0回答:1

我在本地的neo4j桌面上有一个使用该插件的图形完全正常工作。我已经在我的grapheneDB实例中复制了这个图的所有内容。我不能使用gds程序,因为我得到了错误。

gds.proc... 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.

我知道要解决这个问题,我需要在configproperties文件中添加这两行。

dbms.security.procedures.unrestricted=apoc.*,gds.*
dbms.security.procedures.whitelist=apoc.*,gds.*

我只是不知道如何在grapheneDB上做到这一点,我已经阅读了所有我能找到的文档。

我试着添加gds插件,先将jar文件作为存储过程添加,然后再将其作为服务器扩展名添加,并在neo4j-server.properties文件中添加一个包含jar文件和上面提到的两行配置的zip文件。

当添加为服务器扩展时,我可以看出neo4j根本没有找到gds插件。是我在属性文件中遗漏了一个位置吗?还是我在存储过程上传方法中遗漏了一些明显的东西?

使用开发版免费层graphenedb,Neo4j社区版3.5.17和graph data science 1.1.1。

谢谢你

neo4j graphenedb graph-data-science
1个回答
0
投票

经过几周与graphene支持的来回奔波,配置的改变已经完成。他们很快就会把对GDS插件的支持添加到他们的基本映像中,但在那之前,你可能还是需要请求他们为你的db打上补丁,并把它添加为存储过程。

© www.soinside.com 2019 - 2024. All rights reserved.