yireo/magento2-backend-reindexer

Magento 2 module to add reindexing to the Admin Panel

Installs: 15 190

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 5

Forks: 1

Open Issues: 1

Type:magento2-module

0.0.3 2017-11-09 14:44 UTC

This package is auto-updated.

Last update: 2024-04-22 00:11:19 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.