Showing posts with label reindex. Show all posts
Showing posts with label reindex. Show all posts

December 05, 2014

Using Index Management in Terminal

Reindex Data using linux terminal


Reindex data through admin as

Admin -> System -> Index Management

Navigate to root folder

Using terminal as

cd [magento_root_folder]/shell

Press Enter

[magento_root_folder] - defines magento installed root folder.

List all the files in the folder

cd ls

Press Enter

View status of the all indexes

php indexer.php --status

Press Enter

You find the status of all the avaiable indexes

Reindex the catalog_product_price

php indexer.php --reindex catalog_product_price

Press Enter 

List of terminal execution indexes

By default

Name of indexes        Exceuting code path in terminal

Product Attributes     catalog_product_attribute Product Prices         catalog_product_price
Catalog Url Rewrites   catalog_url
Product Flat Data      catalog_product_flat
Category Flat Data     catalog_category_flat Category Products      catalog_category_product
Catalog Search Index   catalogsearch_fulltext
Stock status           cataloginventory_stock
Tag Summary            tag_summary 

To Indexing all the availabe indexes

php indexer.php --reindexall