Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

Neo4j Graph Platform

Forum Posts

About the Neo4j Graph Platform Category

The Neo4j Graph Platform includes the core database and all the technologies surrounding the database, making it useful and accessible for a lot of different users. When asking a question, please select a descriptive label that best matches your quer...

yolande by Community Team
  • 0 replies
  • 1 kudos

Resolved! MERGE with null and coalesce

I am wondering how this following query works. We start with an empty DB. WITH [{a:1, b:null}, {a:1, b:null}] AS rows UNWIND rows AS row MERGE (t:Test {a:row.a, b:coalesce(row.b, 'none')}) SET t.b=row.b Added 1 label, created 1 node, set 3 propertie...

jhyot by Node Link
  • 2 replies
  • 0 kudos

Resolved! DeadlockDetectedException

I use apoc.periodic.iterate function: CALL apoc.periodic.iterate( "load csv from 'file:///user_friends.csv' as line with toInteger(line[1]) as start_id, toInteger(line[0]) as end_id match (a:User{id:start_id}),(b:User{id:end_id}) return a,b ", "where...

Cypher query Issue

Neo4j Desktop 1.2.0 Neo4j 3.5.1 Neo4j Browser 3.5.6 code used: LOAD CSV WITH HEADERS FROM "file:C:\Users\jlambright.Neo4jDesktop\neo4jDatabases\database-<#>\installation-3.5.6\import\test.csv" AS line MERGE (n:MyNode {Name:line.Source}) MERGE (m:MyNo...

JSENL by Node
  • 3 replies
  • 0 kudos

Using neo4j as a LOB classic database

Hi, We would like to create our own ERP solution for using in several different use-cases: CRM, remote mobile app management, e-commerce, advanced content management and more. You might want to refer it as a "Line of business" AKA L.O.B type of apps....

Toggle relationship

I have found a link which states to toggle the relationship: MATCH (u:User) WHERE id(u) = 1 (p:Post) WHERE id(p) = 1 CREATE (u)-[:LIKES]->(p) WITH u, p MATCH (u)-[r:LIKES]->(p), (u)-[:LIKES]->(p) DELETE r But I'm not able to understand how toggle is...

ri8ika by Graph Voyager
  • 3 replies
  • 0 kudos

Resolved! Using variable inside foreach

MATCH (n:Node) // .... // keys => ['foo', 'bar'] FOREACH (k IN keys | SET n.k = 'something') > variable n is not defined What I'm trying to do is something like: = 'something' = 'something'

ri8ika by Graph Voyager
  • 6 replies
  • 1 kudos

Resolved! Cypher script execution error

getting error while trying to run below cyper script neo4j> cypher-shell -file /var/lib/neo4j/import/testscript.cql; Invalid input '-': expected (line 2, column 1 (offset: 7)) "-shell -file /var/lib/neo4j/import/testscript.cql;" Where should we plac...

Resolved! Is there on not match statement?

I am trying to set different property if query is matched and not matched. But I'm not able to find in the documentation. Something like this? MATCH (n:Node) // blah, blah, blah ON MATCH SET = 'one' ON NOT MATCH SET n.two = 'two' I also tried ...

ri8ika by Graph Voyager
  • 6 replies
  • 2 kudos

Unable to convert dates with apoc

Hi, I'm trying to build a subgraph with times and dates in my recommender system of players. For example, I created 24 nodes (for each hour of the day) with the aim of classifying the users that connect a specific time. This way I'd be able recommend...

Kubernetes helm read replica access

Hi, We are using helm to deploy neo4j on a kubernetes cluster starting with this repo: GitHub neo4j-contrib/kubernetes-neo4j (RETIRED) Kubernetes experiments with Neo4j. See updated Helm Repo - neo4j-contrib/kubernetes-...

ivi by Node
  • 3 replies
  • 0 kudos

Graph recommender engine

Anybody have resources on how to build a recommend-er engine based on shows watched by a user, running on neo4j ( or any graph database ). Using some APOC graph algorithms or any ML models I would really appreciate this.

werner by Node Clone
  • 1 replies
  • 1 kudos

Resolved! RegEx in Cypher

Regex patterns in Cypher do not appear to implement some PCRE features like lookahead or lookbehind. I am trying a pattern that works in but not in cypher: WITH [x in keys(row) WHERE x =~ '(?<=Test\\s)[\\w\\s]*(?=-Plate\\sID)' | x ] ...

stugorf by Node Clone
  • 2 replies
  • 0 kudos
Nodes 2022
NODES 2022, Neo4j Online Education Summit - November 16 - 17, 2022.

Free NODES Training Series

October 19th -

Intro to Neo4j

October 20th -

Healthcare Analytics Using Neo4j

October 25th -

Handling Neo4j data with Apache Hop

October 26th -

Blazing Fast Graphs: Hands-on with Apache Arrow and Neo4j

November 2nd -

Graph EDA Using the Neo4j GDS Client

Top Kudoed Authors
Users online (2,531)