Questions tagged [neo4j]

Neo4j is an open-source graph database (GDB) well suited to connected data. Please mention your exact version of Neo4j when asking questions. You can use it for recommendation engines, fraud detection, graph-based search, network ops/security, and many other user cases. The database is accessed via official drivers in Java, JavaScript, Python and .NET, or community-contributed drivers in PHP, Ruby, R, Golang, Elixir, Swift and more.

Neo4j is a open-source, transactional, high-performance native graph database.

Neo4j stores its data as a graph: Nodes are connected through Relationships, both with arbitrary properties. Neo4j features a graph-centric declarative query language called Cypher. Its drivers support many programming languages. More details in the Online Training and the Neo4j Manual.

Neo4j offers a fully-managed cloud database (Database as a service) called Neo4j AuraDB.

For questions that are not suitable for the Stack Overflow Q&A Format, please reach out on Discord. Neo4j also maintains a public Feedback Board for feature ideas and future development directions.


Useful Links

External Resources


Related Tags

22696 questions
4
votes
1 answer

Error moving Neo4J database when upgrading from 1.9.4 to 2.0.1

I just upgraded my Neo4J from 1.9.4 to 2.0.1 newest stable release. The upgrade instructions say that you can just start the new Neo4J with the old database provided that allow_store_upgrade=true which is exactly what I did. However, when I…
Aerodynamika
  • 7,883
  • 16
  • 78
  • 137
4
votes
3 answers

Can't connect neo4j shell to local server

I've installed neo4j 2.0.0 via homebrew and started the server. I'm able to access the webadmin console at port 7474 but when I run neo4j-shell -host localhost -port 7474 I get: non-JRMP server at remote endpoint java.rmi.ConnectIOException:…
4
votes
1 answer

Neo4j - 24/7 Casino roster

This is a series of new questions in response to Kenny's answer on my previous question on how to model a database around a 24/7 casino roster. Database model for a 24/7 Staff roster at a casino Still trying to get my head around graphs and how the…
Brennan
  • 305
  • 4
  • 19
4
votes
1 answer

Neo4j: How to use Integer or String with special characters as Identifier/name for a Node

How to use Integer or String with special characters as Identifier/name for a Node. For instance I wanted to create this Node with Label as Category: CREATE (000-116880:CATEGORY {PartnerCode:"ABCD12345", MerchantCode:"XXXX_0001", Name:"XXXX ABCDE",…
user3205469
  • 995
  • 1
  • 7
  • 16
4
votes
1 answer

How to map entities to existing graph?

I got a graph which is described by the following Cypher expression: CREATE (BMW:Brand {name: "BMW", country: "Germany"}), (X3:Model {name: "X3", acceleration: 7.1, maxSpeed: 227.5, displacement: 1997, consumption: 6}), (lastGen:Generation {from:…
Oleg Kurbatov
  • 1,376
  • 1
  • 19
  • 32
4
votes
2 answers

Neo4j Cypher Query Extremely Slow (about 20 minutes)

I have a program that opens an embedded database and runs several queries on it. I am using one ExecutionEngine and reusing it for each query. Just running the first 3 queries, which are the simplest, takes - well, I don't know how long it takes…
bsg
  • 825
  • 2
  • 14
  • 34
4
votes
2 answers

error messages using Bulbs/python and Neo4j 2.0

Using Neo4j 2.0 and Python 2.7.6 - I've tried executing several scripts based the Bulbs package, but keep getting the following errors: Traceback (most recent call last): File "D:/neo4jdb/testingbulbs2.7", line 8, in james =…
Mark C
  • 427
  • 2
  • 7
  • 16
4
votes
1 answer

How to delete multiple nodes in neo4j

How to delete multiple nodes, (NOT ALL) in neo4j? I have this queryMATCH (n) where n.name IS NULL delete n It returns more than one node, I want to delete all those nodes(All nodes, which are mistakenly created thats why become null). The error, I…
ShreyansS
  • 167
  • 1
  • 2
  • 10
4
votes
1 answer

Neo4j Traversal Framework Expander and Ordering

I am trying to understand Neo4J java traversal API but after a thorough reading I am stuck on certain points. What I seem to know: Difference between PathExpander and BranchOrderingPolicy. As per my understanding, the former tells what…
mickeymoon
  • 4,820
  • 5
  • 31
  • 56
4
votes
1 answer

how to create unique relationships neo4j 2.0

I am trying to create some unique relationships between entities in neo4j. Right now I have authors and articles, with a Authored relationship between them. I want to create a CoAuthored relationship between the entities Like so match…
Mark C
  • 427
  • 2
  • 7
  • 16
4
votes
2 answers

map owl file into neo4j - getOrCreateNodeWithUniqueFactory method

I try to move an ontology (*.owl file) into neo4j to do queries on it. I found some helpful information here but I am facing with issues in this line: Node thingNode = getOrCreateNodeWithUniqueFactory("owl:Thing"); I don't know to which class the…
trojek
  • 3,078
  • 2
  • 29
  • 52
4
votes
1 answer

How to recover a corrupt Neo4j Graph Database

I am currently using spring data neo4j 2.1.0 (community edition). Occasionally I manage either to corrupt the database and/or database indexes. I have gathered the following recovery step but would like to have a more definitive set for future…
Robert
  • 51
  • 1
  • 3
4
votes
2 answers

neo4j browser paste multiple commands

I'm trying to cut and paste multiple commands into the Neo4j browser. When I paste and individual command it works fine. When I paste multiple command sets all terminated by a ; I encounter errors. The commands are for example as follows: start…
user2176065
  • 43
  • 1
  • 3
4
votes
3 answers

How to delete large amount of nodes in cypher

I'm trying to delete 1 million nodes in cyphper at one query using web admin(i.e localhost:7474/browser). These nodes is labeled as User. I ran following query, then returned Unknown error after waiting about 1minutes. match (u:User) delete u This…
Michael
  • 143
  • 4
  • 13
4
votes
1 answer

Neo4j Query Browser does not show actual syntax error in RC1

I just migrated from M06 TO RC1, and now I see that the cypher query window no longer shows the actual error — instead it just returns "Unknown Error" as shown in the image below. But the same query on the M06 returns more information which is very…
Kiran
  • 2,997
  • 6
  • 31
  • 62