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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -