Log in
Model

Product

Magento\Catalog\Model\Indexer\Category\Product

What it does

This indexer maintains the relationship between categories and their assigned products in Magento 2.

Developers interact with this class when products are assigned to categories or when category positions change, ensuring the catalog_category_product index table stays synchronized.

It supports both full reindexing and partial updates for specific category IDs.

Public Methods

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