Model
Processor
Magento\Indexer\Model\Processor
What it does
This class manages the execution and coordination of all indexers in Magento 2.
Developers use it to trigger full or partial reindexing operations, either for all indexers or only invalid ones, and to manage materialized view updates and changelog cleanup.
It's commonly used in cron jobs, CLI commands, or after bulk data operations to ensure search and catalog data stays synchronized.
Public Methods
- reindexAllInvalid()
- reindexAll()
- updateMview()
- clearChangelog()