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

What (in_memory) graph DB if modeling data is focused

I am out of ideas and hope to get some useful input. I am using this question to compress my experiences and share them, hoping to inspire some distributors to go the next step with modeling graph databases as a first class question/way. I've been…
Danny
  • 1,078
  • 7
  • 22
23
votes
16 answers

Cypher Neo4j Couldn't load the external resource

In a Windows environment, I'm trying to load a .csv file with statement: LOAD CSV WITH HEADERS FROM "file:///E:/Neo4j/customers.csv" AS row It seems not to work properly and returns: Couldn't load the external resource at:…
user13568
  • 331
  • 1
  • 2
  • 3
23
votes
2 answers

How does FlockDB compare with neo4j?

Both FlockDB and neo4j are open source frameworks for keeping large graph dataset. Anyone familiar enough with both products to write a comparison?
ripper234
  • 222,824
  • 274
  • 634
  • 905
23
votes
2 answers

How can I make a string contain filter on Neo4j Cypher

I need to make a string contain filter in Neo4J. The idea is simple. A good example is that I need to retrieve from a database of persons all the people that contain in his name the car substring. How can I do this?
chfumero
  • 1,137
  • 2
  • 13
  • 26
23
votes
4 answers

neo4j: Is there a way/how to select random nodes?

I would like to retrieve a specific number of random nodes. The graph consists of 3 000 000 nodes where some of them are sources, some are target and some are both. The aim is to retrieve random sources and as I don't know how to select random, the…
Niko Gamulin
  • 66,025
  • 95
  • 221
  • 286
22
votes
1 answer

How do you logout of Neo4j Web admin console

Using Neo4J v2.2.3 community version. From inside web admin console does anyone know of any way to log out?
Ray
  • 40,256
  • 21
  • 101
  • 138
22
votes
2 answers

Neo4J: Renaming property keys

I just got started on Neo & tried to look for prior questions on this topic. I need help to rename one of the property keys. I created the following node: CREATE (Commerce:Category {title:' Commerce', Property:'Category', Owner:'Magic Pie',…
kkulkarn
  • 345
  • 3
  • 13
22
votes
5 answers

Neo4j or GraphX / Giraph what to choose?

Just started my excursion to graph processing methods and tools. What we basically do - count some standard metrics like pagerank, clustering coefficient, triangle count, diameter, connectivity etc. In the past was happy with Octave, but when we…
Roman
  • 257
  • 1
  • 2
  • 4
22
votes
2 answers

How to delete all relationships in neo4j graph?

I need to delete all relationships between all nodes. Is there any way to delete all relationships in the neo4j graph? Note that I am using ruby bindings - the neography gem. There is no info about that in the wiki of the gem. I've also tried to…
roman
  • 5,100
  • 14
  • 44
  • 77
21
votes
1 answer

Are neo4j's cypher transactions broken?

TL;DR: I am either losing my mind, or neo4j's transactions are slightly broken. It looks like uncommitted nodes are available outside of committed transactions, with missing properties - or something equally weird. Our node.js app uses neo4j. A part…
Tasos Bitsios
  • 2,699
  • 1
  • 16
  • 22
21
votes
2 answers

Finding nodes that do not have specific relationship (Cypher/neo4j)

I have a neo4j db with the following: a:Foo b:Bar about 10% of db have (a)-[:has]->(b) I need to get only the nodes that do NOT have that relationship! previously doing ()-[r?]-() would've been perfect! However it is no longer supported :( instead,…
Diaspar
  • 567
  • 1
  • 5
  • 12
21
votes
1 answer

Neo4j Cypher WITH is required between CREATE and MATCH

I want to execute several queries at the same time on the browser console, here are my requests : CREATE (newNode1:NEW_NODE) CREATE (newNode2:NEW_NODE) MATCH (n1:LABEL_1 {id: "node1"}) CREATE (newNode1)-[:LINKED_TO]->(n1) MATCH (n2:LABEL_2 {id:…
jimmy
  • 385
  • 1
  • 3
  • 10
21
votes
1 answer

Best practice for storing multi-language property values in Neo4j?

I'm storing some nodes in Neo4j graph database and each node has property values that can be localized to various language. Is there any best practice for storing multi-language property values?
Stanley
  • 5,057
  • 4
  • 34
  • 44
21
votes
1 answer

Return labels for a node using Cypher

How do I return all the labels for a node using a Cypher query? Note that I don't know the node id in advance, I do some sort of index match to get it.
joe
  • 1,851
  • 3
  • 17
  • 29
21
votes
2 answers

Can graph databases distribute data efficiently across nodes?

If someone builds a database on top of another database, such as twitter has done, does that database inherit the limitations and inefficiencies of the underlying database? I'm specifically interested in titan db (http://thinkaurelius.com) because…
Filip Haglund
  • 13,919
  • 13
  • 64
  • 113