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
55
votes
2 answers

neo4j - labels vs properties vs relationship + node

Any rule of thumb on where to use label vs node property vs relationship + node. Let's have an example, say I have a store and I want to put my products in neo4j. Their identifier is the product sku, and I also want to have a categorization on them…
lorraine batol
  • 6,001
  • 16
  • 55
  • 114
55
votes
9 answers

Neo4j WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual

I installed Neo4j on Ubuntu 12.04 using these instructions: http://www.neo4j.org/download/linux wget -O - http://debian.neo4j.org/neotechnology.gpg.key | apt-key add - echo 'deb http://debian.neo4j.org/repo stable/' >…
Dave Kerber
  • 551
  • 1
  • 4
  • 3
54
votes
4 answers

Is it a good idea to use MySQL and Neo4j together?

I will make an application with a lot of similar items (millions), and I would like to store them in a MySQL database, because I would like to do a lot of statistics and search on specific values for specific columns. But at the same time, I will…
Jonas
  • 121,568
  • 97
  • 310
  • 388
53
votes
6 answers

What is the difference between multiple MATCH clauses and a comma in a Cypher query?

In a Cypher query language for Neo4j, what is the difference between one MATCH clause immediately following another like this: MATCH (d:Document{document_ID:2}) MATCH (d)--(s:Sentence) RETURN d,s Versus the comma-separated patterns in the same…
Gene M
  • 1,136
  • 1
  • 10
  • 16
52
votes
6 answers

What is the difference between graph-based databases and object-oriented databases?

What is the difference between graph-based databases (http://neo4j.org/) and object-oriented databases (http://www.db4o.com/)?
Gili
  • 86,244
  • 97
  • 390
  • 689
51
votes
4 answers

Neo4j: Get all nodes in a graph, even those that are unconnected by relationships

Using Cypher how can I get all nodes in a graph? I am running some testing against the graph and I have some nodes without relationships so am having trouble crafting a query. The reason I want to get them all is that I want to delete all the nodes…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
50
votes
2 answers

Adding relationship to existing nodes with Cypher

I'm trying out Neo4j for the first time. I'm using the 2.0-RC1 community edition. I've created some nodes: MERGE (u:User{username:'admin',password:'admin'}) MERGE (r1:Role{name:'ROLE_ADMIN'}) MERGE (r2:Role{name:'ROLE_WEB_USER'}) MERGE…
Paul Grenyer
  • 1,713
  • 3
  • 30
  • 51
49
votes
3 answers

MongoDB + Neo4J vs OrientDB vs ArangoDB

I am currently on design phase of a MMO browser game, game will include tilemaps for some real time locations (so tile data for each cell) and a general world map. Game engine I prefer uses MongoDB for persistent data world. I will also implement a…
projectUnduli
  • 501
  • 1
  • 5
  • 5
49
votes
3 answers

Creating multiple databases on one server using Neo4j

How do you create multiple databases on one server using neo4j? I have multiple clients, and I want to separate all client information into different database to avoid data leaks.
Kelly Watson
  • 569
  • 1
  • 4
  • 7
49
votes
6 answers

Neo4j - Is there a cypher query syntax to list (show) all indexes in DB?

I'm looking for something similar to the MySQL ( SHOW INDEXES ). I was able to get a list of indexes using py2neo in Python graphDB = neo4j.GraphDatabaseService() indexes = graphDB.get_indexes(neo4j.Node) print(format(indexes)) but I wanted to…
Bryan Mayes
  • 603
  • 1
  • 6
  • 8
48
votes
1 answer

Experiences OrientDB vs Neo4j

I am looking for the right Graph DB for a project. I tested Neo4j and really liked it. But the AGPL licensing issues put me off a little (you can read about it here). I then found a couple of articles claiming that OrientDB is actually much faster.…
Ole Spaarmann
  • 15,845
  • 27
  • 98
  • 160
47
votes
7 answers

Show all Nodes and Relationships in Data Browser Tab

How can I show all nodes and relationships in Data Browser tab? What are sample index queries that I can type in in search field?
gruber
  • 28,739
  • 35
  • 124
  • 216
46
votes
2 answers

Why is Neo4J telling me there is no spoon?

I am using Neo4J to represent texts; in the simplest case a text is a sequence of words joined by the relationship LEMMA_TEXT. I am trying to find the Nth word after a known word, with a query that looks something like this. MATCH…
tla
  • 553
  • 3
  • 7
45
votes
4 answers

Running a case-insensitive cypher query

Is it possible to run a case-insensitive cypher query on neo4j? Try that: http://console.neo4j.org/ When I type into this: start n=node(*) match n-[]->m where (m.name="Neo") return m it returns one row. But when I type into this: start n=node(*)…
gzg
  • 1,469
  • 6
  • 23
  • 39
44
votes
8 answers

Graph Database in Java (other than Neo4J)

Greetings, Is there any open source graph database available other than Neo4J?? NOTE: Why not Neo4J? Neo4J is opensource, but counts primitives (number of nodes,relationships & properties). If you are using it for commercial use. And does not have…
Nachiket
  • 6,021
  • 6
  • 41
  • 47