yireo / magento2-backend-reindexer
Magento 2 module to add reindexing to the Admin Panel
Installs: 15 262
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 5
Forks: 1
Open Issues: 1
Type:magento2-module
Requires
- php: >=7.0.0
- magento/framework: ^100.1|^101.0|^102.0
Requires (Dev)
- composer/composer: *@dev
- phpunit/phpunit: *
This package is auto-updated.
Last update: 2024-10-22 01:08:48 UTC
README
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.
!!! WARNING !!!
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.
Installation
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
Technical architecture
- This module adds a massaction through XML layout.
- It also adds a
Plugin
to check for the right ACL rules.