Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试通过 webadmin 控制台删除大约 40,000 个不再需要的节点,但我收到以下消息:
neo4j-sh (0)$ start n=node:node_auto_index(tipo="not_needed") DELETE n; ==> TransactionFailureException: Unable to commit transaction
有人知道是否有办法使用控制台解决这个问题吗?
这可能是因为节点仍然连接。您还需要删除他们的关系。就像是:
START n=node:node_auto_index(tipo="not_needed") MATCH n-[r?]-() DELETE n,r;