There is no script available in magento 2 back-end you need run the command using cli:

navigate to your magento folder by using the commnad for example:

cd /opt/lampp/htdocs/magento2.0.4

after that run below command to apply reindex to whole store.:

bin/magento indexer:reindex

But what if you want to reindex specific indexer. for that you will need list of the indexer name. You will get the list of indexer using below command.

In root directory run below command,

 bin/magento indexer:info

Now you have list of all the indexer available, so you can run command for specific indexer.

To run single reindex command,

bin/magento indexer:reindex indexer_name

or for flush cache:

bin/magento cache:flush

working-on-a-computer-smiley-emoticon

Categories: Magento2

0 Comments

Leave a Reply

Avatar placeholder

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