I'm working on a requirement for a corporate knowledge application.
Users can create articles and we store the articles in a MongoDB where they get a unique ObjectID.
Subsequently we store the article in our Neo4J database and create the needed relations.
What is the best practice to uniquely identify nodes and keep the reference to the document in MongoDB?
Should we use a plugin like neo4j-uuid to automatically generate an id and additionally store the ObjectID as another attribute on the node? Or should we just solely store the ObjectID on the node?
We need to keep the reference so we can find the corresponding document in MongoDB but also need to be able to get nodes by id.