Neo4j is the world’s leading Graph Database. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions. The programmer works with a flexible network structure of nodes and relationships rather than static tables — yet enjoys all the benefits of enterprise-quality database. For many applications, Neo4j offers orders of magnitude performance benefits compared to relational DBs.
Using Neo4j
Neo4j is available both as a standalone server, or an embeddable component. You can download or try online.
Extending Neo4j
We encourage experimentation with Neo4j. You can build extensions to Neo4j, develop library or drivers atop the product, or make contributions directly to the product core. You’ll need to sign a Contributor License Agreement in order for us to accept your patches.
Dependencies
Neo4j is built using Apache Maven version 3.8.2 and a recent version of supported VM. Bash and Make are also required. Note that maven needs more memory than the standard configuration, this can be achieved with export MAVEN_OPTS="-Xmx2048m".
macOS users need to have Homebrew installed.
Building Neo4j
Before you start running the unit and integration tests in the Neo4j Maven project on a Linux-like system, you should ensure your limit on open files is set to a reasonable value. You can test it with ulimit -n. We recommend you have a limit of at least 40K.
-
A plain
mvn clean install -T1Cwill only build the individual jar files. -
Test execution is, of course, part of the build.
-
In case you just want the jars, without running tests, this is for you:
mvn clean install -DskipTests -T1C. -
You may need to increase the memory available to Maven:
export MAVEN_OPTS="-Xmx2048m". -
You may run into problems resolving
org.neo4j.build:build-resourcesdue to a bug in maven. To resolve this simply invokemvn clean install -pl build-resources.
Running Neo4j
After running a mvn clean install, cd into packaging/standalone/target and extract the version you want, then:
in the extracted folder to start Neo4j on localhost:7474. On Windows you want to run:
instead.