indexing - How can I programmatically rebuild the Magento product flat data for a single, specified store view? -
i'm running multi-store installation of magento , i've reached point manual product imports , subsequent index rebuild taking long. want stagger jobs need know how isolate rebuilding of indeces on per-site basis.
$indexer = mage::getresourcemodel('catalog/product_flat_indexer') /* @var $indexer mage_catalog_model_resource_product_flat_indexer */ $indexer->rebuild([store id]);
Comments
Post a Comment