Graphs for Everyone
= Neo4j: Graphs for Everyone =
https://neo4j.com[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.
Learn more on the https://neo4j.com[Neo4j website].
== Using Neo4j ==
Neo4j is available as a fully managed solution where you can get started for free using https://console.neo4j.io[Neo4j Aura]. Neo4j is also available as a standalone server that you can https://neo4j.com/deployment-center[download].
== Neo4j Aura ==
https://neo4j.com/product/auradb[Neo4j Aura] is the fully managed graph database solution for Neo4j. You can quickly get started in seconds and use Neo4j for free - no credit card required. https://console.neo4j.io[Sign up to Neo4j Aura].
== 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 https://maven.apache.org/[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 https://brew.sh/[Homebrew] installed.
=== With brew on macOS ===
brew install maven
Please note that we do not support building Debian packages on macOS.
=== With apt-get on Ubuntu ===
sudo apt install maven openjdk-17-jdk
Be sure that the JAVA_HOME environment variable points to /usr/lib/jvm/java-17-openjdk-amd64
(you may have various java versions 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.
mvn clean install -T1C will only build the individual jar files.mvn clean install -DskipTests -T1C.export MAVEN_OPTS="-Xmx2048m" (try this first if you get build errors).== Running Neo4j ==
After running a mvn clean install, cd into packaging/standalone/target and extract the version you want, then:
bin/neo4j-admin server start
in the extracted folder to start Neo4j on localhost:7474. On Windows you want to run:
bin\neo4j-admin server start
instead.
== Accessing Neo4j graph tools ==
Neo4j provides a number of tools for https://neo4j.com/docs/aura/query/introduction/[querying], https://neo4j.com/docs/aura/dashboards/[visualizing], and https://neo4j.com/docs/aura/explore/introduction/[analyzing] data. You can access graph tools on https://console.neo4j.io[Neo4j Aura] for free - no subscription required. Neo4j graph tools are compatible with both fully managed Neo4j AuraDB instances and self-managed Neo4j databases. https://neo4j.com/docs/aura/managing-instances/self-managed/[Learn more] on how to connect your instance.
== Neo4j Desktop ==
Neo4j Desktop is a convenient way for developers to work with local Neo4j databases.
To install Neo4j Desktop, go to https://neo4j.com/download-center/[Neo4j Download Center] and follow the instructions.
== Licensing ==
Neo4j Community Edition is an open source product licensed under GPLv3.
Neo4j Enterprise Edition includes additional closed-source components not available in this repository and requires a commercial license from Neo4j or one of its affiliates.
== Trademark ==
Neo4j's trademark policy is available at https://neo4j.com/trademark-policy/[our trademark policy page].
db.index.vector.queryNodes leaks an internal ArithmeticException when numberOfNearestNeighbours exceeds Integer.MAX_VALUE
Type predicate `LIST<ANY NOT NULL>` accepts lists that contain null
round() returns 9.223372036854776E18 (2^63) for any FLOAT with |value| ≥ 2^63
SET/REMOVE properties on an entity deleted earlier in the same query silently succeed
Out-of-range literal in CREATE INDEX ... OPTIONS {indexConfig} raises 50N00 and echoes internal AST to the client
range() with 2^31 or more elements: size() returns 0 and property storage silently truncates the list to its prefix
App becomes very slow after upgrade from neo4j 3.5 -> 4.3
Negative zero compares as equal to 0.0 and strictly less than 0.0 at the same time
Constant folding changes the result of `9007199254740993 = 9007199254740992.0` (`true` when folded, `false` at runtime)
CypherExecution raises arraycopy internal error for a multi-component MATCH followed by OPTIONAL MATCH