Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

Graph Fellow
since ‎12-19-2019

User Statistics

  • 295 Posts
  • 5 Solutions
  • 25 Kudos given
  • 26 Kudos received

User Activity

I usually use:   match (n) detach delete n   Even for a small graph, this usually takes a long time. Is there a better way to delete the graph using cypher? 
MATCH p=()-[r:coOccur]->() WHERE r.confidence>0.9 RETURN p limit 25 I have a graph that have all Tag nodes and their coOccur relationship. The coOccur has a property confidence which has value between 0 and 1. However, my query above also returns r...
CALL apoc.periodic.iterate("CALL apoc.load.csv('/Users/martin/test/test.csv', {nullValues:['','na','NAN',false], sep:' ' }) yield map as row", "MERGE (mGenerics {nid: row.nid})ON CREATE SET m += row ON MATCH SET m += row RETURN count(m) as mcount", ...
  MATCH (m:Sports)-[r:hasPlayer]-(n:Sports) RETURN properties(n) as properties1, properties(m) as properties2 limit 100000   This takes quite a while to complete given around 50000 Sports node. I hope it can be finished under one 1 second, since it's...
CALL apoc.periodic.iterate( "MATCH (n:Article) return n.nid", "REMOVE n.bertEmbedding", {batchSize:30000, parallel:false, iterateList:true}) The error message: org.neo4j.graphdb.QueryExecutionException: Variable n not defined (line 1, column 65 (...