magento Shell, CLI Performing Reindex from CLI


Example

View Status:

php indexer.php status

Reindex All

php indexer.php reindexall

Reindex Specific Index

php indexer.php --reindex CODE (see list below)

List of Individual Codes

IndexCode
Product Attributescatalog_product_attribute
Product Pricescatalog_product_price
Catalog URL Rewritescatalog_url
Product Flat Datacatalog_product_flat
Category Flat Datacatalog_category_flat
Category Productscatalog_category_product
Catalog Search Indexcatalogsearch_fulltext
Stock Statuscataloginventory_stock