skip to Main Content

I am using magerun to run Indexing for my magento store. I am using below command

/usr/local/bin/magerun --root-dir=/var/www/html/store index:reindex:all

The above command works perfectly but my requirement is to skip the “Catalog URL Rewrites” using index:reindex:all command.

Is this possible to skip single Index in reindex:all command?

Is there any command/parameter provided by magerun to skip any Index?

2

Answers


  1. Chosen as BEST ANSWER

    Here is the solution to skip specific indexing

    /usr/local/bin/magerun --root-dir=/var/www/html/store index:reindex catalog_product_attribute,catalog_url,catalog_product_flat,catalog_category_flat,catalog_category_product,catalogsearch_fulltext,cataloginventory_stock
    

    we can pass parameters after index:reindex seprated by comma.


  2. //I think you need to run specific indexing like below for catalog product price.

    php /your-magento-path//shell/indexer.php --reindex catalog_product_price
    

    Reference link

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search