Log in
Model

Flat

Magento\Catalog\Model\Indexer\Category\Flat

What it does

This class manages the category flat table indexer in Magento 2, which creates denormalized tables for faster category data retrieval.

Developers interact with this when rebuilding category indexes via CLI commands or when category data changes trigger automatic reindexing.

It handles both full reindexing of all categories and partial reindexing of specific category IDs.

Public Methods

  • execute()
  • executeFull()
  • executeList()
  • executeRow()