Neo4j Server
The GDS library is intended to be used on a standalone Neo4j server.
On a standalone Neo4j Server, the library will need to be installed and configured manually.
-
Download
neo4j-graph-data-science-[version].jar
from the Neo4j Download Center and copy it into the$NEO4J_HOME/plugins
directory. -
Add the following to your
$NEO4J_HOME/conf/neo4j.conf
file:dbms.security.procedures.unrestricted=gds.*
This configuration entry is necessary because the GDS library accesses low-level components of Neo4j to maximise performance.
-
Check if the procedure allowlist is enabled in the
$NEO4J_HOME/conf/neo4j.conf
file and add the GDS library if necessary:dbms.security.procedures.allowlist=gds.*
Before Neo4j 4.2
, the configuration setting is calleddbms.security.procedures.whitelist
-
Restart Neo4j
1. Verifying installation
To verify your installation, the library version can be printed by entering into the browser in Neo4j Desktop and calling the gds.version()
function:
RETURN gds.version()
To list all installed algorithms, run the gds.list()
procedure:
CALL gds.list()
Was this page helpful?