Delete old nodes and relationships with Cypher in Neo4j 1.9
问题 I am using Neo4j 1.9 M03 in HA mode, my challenge is to remove all nodes and relationships as well as indices that are older than a certain date. For this I created a property for nodes and relationships. The property is a datestamp in the "YYMMDD" format. I'm trying to use the following Cypher query to perform the operation mentioned above: START n0=node(0), nx=node(*) MATCH n0-[r0?]-(), nx-[rx?]-() WHERE nx <> n0 AND HAS (nx.datestamp) AND nx.datestamp <= yyyymmdd OR HAS (rx.datestamp) AND