Class Mage_CatalogIndex_Model_Indexer
CatalogIndex Index operation model
- Varien_Object
-
Mage_Core_Model_Abstract
-
Mage_CatalogIndex_Model_Indexer
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/CatalogIndex/Model/Indexer.php
protected
|
|
protected
|
|
protected
array
|
|
protected
array
|
#
_getIndexableAttributeCodes( )
Get array of attribute codes required for indexing Each indexer type provide his own set of attributes |
protected
array
|
|
protected
|
|
public
|
|
public
|
#
plainReindex( mixed $products = null, mixed $attributes = null, mixed $stores = null )
Reindex catalog product data which used in layered navigation and in product list |
protected
|
#
_afterPlainReindex(
After plain reindex process |
protected
|
#
_getProductCollection(
Return collection with product and store filters |
public
|
#
_walkCollectionRelation(
Walk Product Collection for Relation Parent products |
protected
|
#
_walkCollection( Mage_Catalog_Resource_Eav_Mysql4_Product_Collection $collection, mixed $store, array $attributes = array(), array $prices = array() )
Run indexing process for product collection |
public
|
|
public
|
|
protected
array
|
#
_getPriorifiedProductTypes( )
Get product types list by type priority type priority is important in index process example: before indexing complex (configurable, grouped etc.) products we have to index all simple products |
protected
float
|
|
public
array
|
#
buildEntityPriceFilter( array $attributes, array $values, array & $filteredAttributes,
Build Entity price filter |
public
array
|
#
buildEntityFilter( array $attributes, array $values, array & $filteredAttributes,
Build Entity filter |
protected
Varien_Db_Select
|
|
public
|
|
public
|
|
public
|
#
updateCatalogProductFlat( mixed $store, string $products = null, mixed $resourceTable = null )
Update price process for catalog product flat |
integer |
REINDEX_TYPE_ALL
|
0 |
|
integer |
REINDEX_TYPE_PRICE
|
1 |
|
integer |
REINDEX_TYPE_ATTRIBUTE
|
2 |
|
integer |
STEP_SIZE
|
1000 |
protected
array
|
$_indexers | array() |
#
Set of available indexers Each indexer type is responsable for index data storage |
protected
array
|
$_priceIndexers | array('price', 'tier_price', 'minimal_price') |
#
Predefined set of indexer types which are related with product price |
protected
array
|
$_attributeIndexers | array('eav') |
#
Predefined sets of indexer types which are related with product filterable attributes |
protected
array
|
$_productTypePriority | null |
#
Tproduct types sorted by index priority |
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_eventPrefix,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|