Open CIB opened 8 years ago
Thanks for pointing this out @CIB. Neo4j Doc Manager creates a uniqueness constraint on the _id
property (the value of the ObjectID for each document), so this error is thrown because the bulk upsert is trying to create nodes that already exist. Currently bulk_upsert
uses CREATE
Cypher statements, but I suppose we could try changing those to MERGE
and SET
statements to avoid these constraint violation errors. I will try some performance tests with this to see if it makes sense. In the meantime, you could delete the data in Neo4j before restarting the doc manager to avoid this error.
Hello, I'm facing the same problem. Any news on this? Thanks.
In the official documentation, it says that deleting the timestamp should be possible. But if I start neo4j doc manager once, stop it, delete the timestamp, and start it again, I get the following error: