Reading MongoDB dump

#1

Hello,
I am trying to read a mongoDB dump downloaded from https://static.openfoodfacts.org/data/openfoodfacts-mongodbdump.tar.gz

I added the KNIME Mongo DB extension but cannot read my locally saved file with the node “MongoDB reader”.

Any suggestion would be highly appreciated

Michel

0 Likes

#2

Hi,

the MongoDB Reader Node can be used to read documents from a MongoDB server, not a DB dump. You have to import the open food facts dump into your own MongoDB server and than connect to the server with the KNIME node. See mongorestore in the MongoDB documentation.

Sascha

2 Likes