cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Pause, resolving how to handle anonymous content

How to map mongodb data to neo4j

vishakh_kv
Node

The project I am working on is planning to implement a new feature that is recommending products to the users(which are sellers in our case) based on their search and the stock they have. Currently, we are using MongoDB as database. To make the predictions we need to import data from MongoDB to neo4j with relationships. For mapping relationships, I referred to the following site https://medium.com/neo4j/transform-mongodb-collections-automagically-into-graphs-9ea085d6e3ef and I was able to map relationships within a document but I was not able to map relationships among the table. Is there a proper way to import data from MongoDB to neo4j DB with relationships mapping?

2 REPLIES 2

Do you have more details about your collection?
Perhaps example documents and what you tried so far with the procedure?

Did you try the example from the article if that worked for you?

info15
Node

Mongo and Neo4j have very different concept. I think you need to re-think your db structure based on your requirement and create a script in your preferred language to do the migration.