Skip to content

Instantly share code, notes, and snippets.

@mhhansen
Last active August 29, 2015 14:04
Show Gist options
  • Save mhhansen/2551f7f47b87727229c4 to your computer and use it in GitHub Desktop.
Save mhhansen/2551f7f47b87727229c4 to your computer and use it in GitHub Desktop.
Magento : Index process from console
# extracted from http://www.atwix.com/magento/process-magento-indexes-from-command-line/
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
# INDEXES NAMES LIST
# catalog_product_attribute
# catalog_product_price
# catalog_url
# catalog_product_flat
# catalog_category_flat
# catalog_category_product
# catalogsearch_fulltext
# cataloginventory_stock
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
# EXECUTE from within shell/ folder
# php indexer.php --reindex <index_name>
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
# EXAMPLE
php indexer.php --reindex catalog_url
php indexer.php --reindex catalog_product_attribute
php indexer.php --reindex catalog_product_price
php indexer.php --reindex catalog_product_flat
php indexer.php --reindex catalog_category_flat
php indexer.php --reindex catalog_category_product
php indexer.php --reindex catalogsearch_fulltext
php indexer.php --reindex cataloginventory_stock
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
# CHECK STATUS
php indexer.php --status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment