Smile-SA / mongogento

98 stars 49 forks source link

Populate monogdb #3

Closed staljaard-zz closed 8 years ago

staljaard-zz commented 10 years ago

Hi

How do we initially populate mongodb with all products? So far I can only do this by saving each and every product, which isn't an option when dealing with 100,000+ products.

Regards Shem

nyov commented 10 years ago

I'm curious about this one as well. Populating mongodb isn't the issue, but what kind of SQL queries still need to happen to have Magento see those documents?

Has anyone written some kind of script for this yet, or knows the relevant SQL DB tables to touch up?

staljaard-zz commented 10 years ago

Hi

That's taken care of already if I understand you correctly. There is a new Magento Resource for the MongoDB connection and to fetch and save data to within the module, check the module/resource dir.

aftabnaveed commented 8 years ago

use the migration script shell/slim/mongoify.php

romainruaud commented 8 years ago

@aftabnaveed is right. A migration script is now available.