配置插件
Neo4j 企业版捆绑了一系列预安装的产品,例如图数据科学库和 Bloom,它们可以用来扩展 Neo4j 的功能。这些产品的 JAR 文件位于 *products* 文件夹中,可以作为插件安装。
Neo4j 社区版仅在 *labs* 目录中提供 APOC 插件。
如果你想使用自己的插件,请确保将它们添加到指定的 *plugins* 目录中。此目录是 Neo4j 在启动时查找和加载插件的中心位置。
Bloom 企业版和 GDS 企业版需要许可证激活密钥。请联系您的 Neo4j 账户代表或请求代表与您联系。 [联系我们](https://neo4j.ac.cn/contact-us/#sales-inquiry) |
以下插件受支持
名称 | 密钥 | 需要许可证激活密钥 | 更多信息 |
---|---|---|---|
APOC 扩展 |
|
||
APOC |
|
||
Bloom 企业版 [1] |
|
||
GenAI [2] |
|
||
GraphQL |
|
||
图算法 |
|
||
图数据科学 |
|
||
图数据科学企业版 |
|
||
Neo Semantics |
|
||
1. 你也可以通过 Neo4j 桌面中的图应用程序获得对 Bloom 的基本访问权限,无需许可证密钥。有关更多详细信息,请参阅 [Bloom 部署模式](/docs/bloom-user-guide/current/bloom-installation/bloom-deployment-modes/)。 2. 在企业版 5.17 中引入。从 Neo4j 5.23 开始,GenAI 插件也适用于 Neo4j 社区版。 |
有关在不同 Neo4j 设置中使用插件的更多信息,请参阅
安装和配置插件
以下是启用插件的步骤
-
将插件(*.jar 文件)从 *<NEO4J_HOME>/products* 和 *<NEO4J_HOME>/labs* 移动或复制到 *<NEO4J_HOME>/plugins* 目录。有关更多信息,请参阅 [默认文件位置](../file-locations/)。
-
在 *<NEO4J_HOME>/conf/neo4j.conf* 中添加以下行
# to enable GDS: * dbms.security.procedures.unrestricted=gds.* * dbms.security.procedures.allowlist=gds.* * gds.enterprise.license_file=/path/to/my/license/keyfile # to enable Bloom: * dbms.security.procedures.unrestricted=bloom.* * dbms.bloom.license_file=/path/to/my/license/keyfile # to enable both GDS and Bloom: * dbms.security.procedures.unrestricted=gds.*,bloom.* * dbms.security.procedures.allowlist=gds.* * gds.enterprise.license_file=/path/to/my/license/keyfile * dbms.bloom.license_file=/path/to/my/license/keyfile
-
安装插件。
有关如何安装它们的更多详细信息,请参阅 [Bloom 文档](https://neo4j.ac.cn/docs/bloom-user-guide/current/bloom-installation/) 和 [GDS 文档](https://neo4j.ac.cn/docs/graph-data-science/current/installation/)。
所有已安装的插件将在每次 Neo4j 启动时自动加载。因此,插件的数量可能会影响启动时间。仅安装必要的插件以避免性能问题。 |