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
0 answers

Intended change in behaviour with cypher in Neo4j 1.9.M02-M05?

Is that a known issue, and/or intended behaviour in Neo4j 1.9.M02-M05 that you cannot delete nodes and relationships from cypher queries outside a transaction anymore? The following example code does work in 1.8.2, but not in…
Axel Morgner
  • 2,292
  • 16
  • 15
4
votes
2 answers

Error when connecting to neo4j via neo4django

I have a Django (Version 1.4.0) web app which uses neo4django mapper to run queries on neo4j (Version 1.8.2). However, as soon as I do a query like OnlinePerson.objects.filter(name="Bijan") I get a Runtime error as ('The type node for class…
bijbij
  • 129
  • 1
  • 7
4
votes
3 answers

How can I update node or node entity in Spring data neo4j?

In Spring data neo44 we have just repository.save(entity), but for example when my UserEntity's property(email) changed, i dont know how to update the same. I tried also with neo4j template, but save entity with existing node id caused the below…
Armen Arzumanyan
  • 1,939
  • 3
  • 30
  • 56
4
votes
1 answer

Neo4j : Find children derived from same parents in cypher

How Can we do this in cypher? There are n parents p1, p2, p3.... pn and m children c1, c2,c3... cm. Suppose c1 is derived from (child of) p1,p2 and p3 and also c2 is derived from (child of) p1, p2 and p3. Given c1 can we find c2? (node derived…
tutysara
  • 177
  • 1
  • 12
4
votes
1 answer

Index not recognized in cypher queries

I was trying to reproduce the shakespeare data set and queries in my local console. I created the nodes and relationships. neo4j-sh (0)$ START theater=node:venues(theatre = 'Theatre Royal'), newcastle=node:cities(city = 'Newcastle'),…
user1848018
  • 1,086
  • 1
  • 14
  • 33
4
votes
3 answers

Delete all relations and connected nodes in Neo4j for a user

We have selected neo4j as the DB for our web application. The user has a large number of relations and connected nodes. As of now there are about 20 relations for a user. One of the features is a newsfeed feature. If i want to delete a user…
user2138493
  • 135
  • 1
  • 5
4
votes
2 answers

Neo4j's advanced mapping mode performance

I've used both Neo4j's simple and advanced mapping modes in my Spring Data Neo4j project. Since I've switched from simple to advanced mappings, the project's performance is a lot, and I mean really a lot better than before. I've got no exact numbers…
tstorms
  • 4,941
  • 1
  • 25
  • 47
4
votes
2 answers

Is concept of reference node in neo4j still used or deprecated?

I was going through neo4j docs at tutorials-java-embedded-index. It describes the concept of reference node. A user reference node is created usersReferenceNode which is used to connect with all user nodes created in DB. What was/is use of this…
N D Thokare
  • 1,703
  • 6
  • 35
  • 57
4
votes
2 answers

show names against nodes in neo4j

Can anyone tell me how to show the name of a node in the graph viewer in the same way that is shown at the demo site: http://console.neo4j.org/ Here it shows Neo against node 1 instead of only the node id. I'm creating nodes through the admin…
dubs
  • 6,511
  • 4
  • 19
  • 35
4
votes
1 answer

cypher return twice for nodes that connected in bi-directional relationship

I have 2 nodes: (A), (B), connected by [:FRIEND] When I run the following command, start n = node(*) match (n)-[r:FRIEND]-(b) return n.name, b.name; it returns 2 rows: A, B and B, A. I wonder, how to make it return only one record, because the…
janetsmith
  • 8,562
  • 11
  • 58
  • 76
4
votes
1 answer

GraphDatabase (Neo4J) vs Relational database (MySql) - query on specific column of a specific table

Is it true that relational database, like MySql, performs better than a graph database, like Neo4j, when a query is about to search for specific data within a specific table and a specific column. For instance, if the query is: "search for all…
Mik378
  • 21,881
  • 15
  • 82
  • 180
4
votes
2 answers

Cypher Query in Neo4j Returns 'undefined'

I've built a graph using Neo4j which consists of about 1000 nodes and about 270,000 relationships. The graph is a flight network (airports are nodes, and flights are relationships) so there are many relationships from node to node. I'm sure there…
Brent Barbata
  • 3,631
  • 3
  • 24
  • 23
4
votes
2 answers

Neo4j node property containing raw json as metadata

Is this possible to have a node property as json raw string and to filter on it with cypher ? I have a node with some defined properties and metadata (json raw string). I would like to select or filter on those metadata property. This is something…
Fred
  • 117
  • 1
  • 8
4
votes
1 answer

Neo4j - How to emulate MySQL multiple schema deployment in Neo4j

With single instance of Neo4j server ( not embedded), how to add multiple schema kind of deployment ( similar to MySQL) in Neo4j ? How is it possible to add / delete schema run time in Neo4j deployed as a server?
PankajM
  • 417
  • 2
  • 10
4
votes
2 answers

Getting started with neo4j

I am completely new to neo4j and I am very sorry for asking such a basic question. I have installed neo4j, I am using the shell "localhost:7474/webadmin/#/console/" I am looking for a good example that uses some shell commands to read from a…
user1848018
  • 1,086
  • 1
  • 14
  • 33
1 2 3
99
100