Magento 2 module to add reindexing to the Admin Panel
Magento 2 by default has no way to reindex from within the Magento Admin Panel. This module adds a massaction to reindex from the backend anyway.
From a technical point of view, there is a really good reason that Magento 2 offers no way to reindex indexes using the Magento backend: Using the Magento Admin Panel from this task may lead to timeouts, memory issues, and because of this, potential data inconsistancy (corrupt data). Make sure to know what you're doing before using this module.
The advice is to index through the CLI task and/or through cronjob. However, this module might still prove useful to small shops, testing environments with no developer present, etcetera.
Install this module within Magento 2 using composer:
composer require yireo/magento2-backend-reindexer
After this, enable the module as usual:
bin/magento module:enable Yireo_BackendReindexer bin/magento setup:upgrade bin/magento cache:clean
- This module adds a massaction through XML layout.
- It also adds a
Pluginto check for the right ACL rules.