不,那里没有.
在Magento中,"重新索引"意味着"运行PHP类列表并运行它们的reindexAll方法".索引策略因索引器类型而异.大多数需要读取某种数据,进行程序计算,然后将值插入到平面表中.
例如,目录/ URL重写重新索引器是类
app/code/core/Mage/Catalog/Model/Indexer/Url.php
(alias of catalog/indexer_url, PHP class of Mage_Catalog_Model_Indexer_Url)
Run Code Online (Sandbox Code Playgroud)
它的reindxAll方法包含
public function reindexAll()
{
/** @var $resourceModel Mage_Catalog_Model_Resource_Url */
$resourceModel = Mage::getResourceSingleton('catalog/url');
$resourceModel->beginTransaction();
try {
Mage::getSingleton('catalog/url')->refreshRewrites();
$resourceModel->commit();
} catch (Exception $e) {
$resourceModel->rollBack();
throw $e;
}
}
Run Code Online (Sandbox Code Playgroud)
并且在refreshRewrites方法中处理实际的索引,这将创建所需的Magento重写.