Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-14-2022 09:09 AM - edited 07-14-2022 09:40 AM
Hello guys
I have an existing graph database and a JSON file that gets updated daily. The update consists of new records being added or existing records that are updated and the file can have like thousands of records. On each update of the JSON file, I have to understand:
So I think the main problem is how to understand which records are updated and added in the JSON file compared to the graph(take into consideration that we cant modify the structure of the JSON file)
Is there a way I can do this on Neo4j? Can you suggest some helpful materials that could help me solve this?
Thanks in advance
Solved! Go to Solution.
07-25-2022 08:29 AM
Personally, I would write a utility that takes the previous json and the current json and determine which nodes are new and which existing nodes have a property change. This should be very simple in Java using a json library, such as Jackson.
The result of the utility is a new json file with only the new and changed nodes in it. You can import them using ‘merge’ so it handles new and existing nodes.
07-25-2022 08:29 AM
Personally, I would write a utility that takes the previous json and the current json and determine which nodes are new and which existing nodes have a property change. This should be very simple in Java using a json library, such as Jackson.
The result of the utility is a new json file with only the new and changed nodes in it. You can import them using ‘merge’ so it handles new and existing nodes.
08-01-2022 12:04 AM
Thank you for your answer.
All the sessions of the conference are now available online