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

neo4j: Cypher LOAD CSV with uuid

I am starting to work with LOAD CSV of Cypher for Neo4J to import larger csv-files into my DB. I would like to add to each imported node a unique ID (uuid) as a property. My try was: LOAD CSV FROM "file:..." AS csvLine CREATE (c:Customer { uuid:…
Balael
  • 401
  • 5
  • 18
4
votes
1 answer

Fast way to mockup hierarchical data easily

I'm seeking a quick and easy solution to help mock/populate/test an org chart (in ASP MVC), with tree based or hierarchical data. I need the test data for this... I have used both http://www.generatedata.com and mock-aro (both of which I like, but…
aggie
  • 798
  • 2
  • 8
  • 23
4
votes
0 answers

Neo4jClient: Wild char Search do not work when parametarized

I am having a strange issue with the Neo4JClient. The following query works .AndWhere("((shipper.Name =~ '(?i).*" + filterTxt + ".*') OR (frm.Name =~ '(?i).*" + filterTxt + ".*') OR (to.Name =~ '(?i).*" + filterTxt + ".*'))"); but the same when I…
Kiran
  • 2,997
  • 6
  • 31
  • 62
4
votes
1 answer

Creating Relationships in Neo4J model with after_save

So I apologize for how noobish these questions may seem. I'm new to rails and as a first task I also brought in Neo4J as it seemed like the best fit if I grow the project. I'll explain the flow of actions then show some example code. I'm trying to…
Clam
  • 935
  • 1
  • 12
  • 24
4
votes
2 answers

Neo4j .NET Client Execute String Cypher Queries

Is it possible to execute CYPHER queries as just plain old strings using the Neo4j .NET Client or any other module? For instance, if I want to add some nodes to my graph database and already had the statements assembled, is there a means to execute…
smk081
  • 783
  • 1
  • 10
  • 36
4
votes
1 answer

What plugin is used in this Neo4J visualization and can it be used outside of this page?

On this page you can enter a set of cypher queries and get a visualization of the graph as it exists through those queries. What plugin are they using to create this visualization? Is there an easy way to get this same widget in a stand-alone way?…
WildBill
  • 9,143
  • 15
  • 63
  • 87
4
votes
2 answers

Rake aborted with neo4j:install[community-2.1.5]

So I was following along this video https://www.youtube.com/watch?v=bDjbqRL9HcM i came to a part where I should use the rake task then this happened: blog$ rake neo4j:install[community-2.1.5] --trace rake aborted! Don't know how to build task…
4
votes
3 answers

Migrating from SQL Server to neo4j , is there something like SSMS to import data into neo4j

I'm migrating from SQL Server to Neo4J (or ArangoDB, much more challenging), currently using the Windows stack, and C#. I saw the batch importer on github[https://github.com/jexp/batch-import/tree/20 ]. This util is an export tool, but I can't…
user3390927
4
votes
1 answer

Error on neo4j server start on arch linux

I have an arch linux setup and installed neo4j through the arch user repository (yaourt -S neo4j), and I'm able to run the web console fine (sudo neo4j console with seemingly normal output and full functionality), however when trying to start the…
4
votes
3 answers

Neo4j count child node based on condition

I need count of all child nodes until first condition meet. e.g. I have data like -MainParent -ParentChild 1 -Child 1 -Child 2 -ParentChild 2 -Child 1 -Child 2 -Child 3 -grand child 1 …
Satish Shinde
  • 2,878
  • 1
  • 24
  • 41
4
votes
2 answers

Cannot Merge Node error: Neo4j

I have 2 CSV files which I want to convert into a Neo4j database. They look like this: first file: name,enzyme Aminomonas paucivorans,M1.Apa12260I Aminomonas paucivorans,M2.Apa12260I Bacillus cellulosilyticus,M1.BceNI Bacillus…
letsc
  • 2,515
  • 5
  • 35
  • 54
4
votes
2 answers

Tracking the history of nodes in neo4j

I'm using Neo4j Community edition 2.1.4. I have hierarchy of 4 levels and each level names i have treated it as label name for that level.So in my graph i have totally 4 labels. Now for the first time I have loaded csv file into neo4j and using…
shree11
  • 535
  • 4
  • 13
  • 26
4
votes
1 answer

Neo4j Relationship Schema Indexes

Using Neo4j 2.1.4 and SDN 3.2.0.RELEASE I have a graph that connects nodes with relationships that have a UUID associated with them. External systems use the UUID as a means to identify the source and target of the relationship. Within Spring Data…
Dave Hallam
  • 136
  • 8
4
votes
2 answers

Neo4j performance - counting nodes - linked list performance - alternatives?

UPDATED: Wes hit a home run here! Thanks.. I've added a Rails version I was developing using the neography Gem.. Accomplishes the same thing but his version is much faster.. see comparison below I am using a linked list in Neo4j (1.9, REST,…
4
votes
3 answers

Performance of Java API versus Python with Cypher for Neo4J

I am working with an application that uses a Neo4J graph containing about 10 million nodes. One of the main tasks that I run daily is the batch import of new/updated nodes into the graph, on the order of about 1-2 million. After experimenting with…