Reindex using Command line in Magento2

Home / Magento2 / Reindex using Command line in Magento2

Here Explain how to handle reindex using command line in magento2.

In root magento directory

php bin/magento indexer:reindex

 

in root/bin directory

php magento indexer:reindex

 

To get the index name to run index one by one first write below command to get info

in magento root directory

php bin/magento indexer:info

 

To run single reindexing command

php bin/magento indexer:reindex indexer_name

 

indexer name which we received name from indexer:info

 

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *