public function moveProductsIndex($storeId)
{
$indexName = $this->product_helper->getIndexName($storeId);
$tmpIndexName = $this->product_helper->getIndexName($storeId, true);
$this->algolia_helper->moveIndex($tmpIndexName, $indexName);
}
public function moveProductsTmpIndex(Varien_Object $event) { $storeId = $event->getStoreId(); $this->helper->moveProductsIndex($storeId); }