Skip to main content

reindex

Magento2 indexes

First of all you need to change the directory to  shell folder under magento root

 

Checking for the status of all indexes

php bin/magento indexer:status


Re-indexing a single index
Each index has its own index key that you can use to reference it when asking Magento to re-index. To get these keys, you can use the following command:

php bin/magento indexer:info