Log in
Model

Product

Magento\Catalog\Model\Indexer\Category\Product

What it does

This class manages the indexing of product-category relationships in Magento 2.

Developers interact with it when products are assigned to or removed from categories, ensuring the catalog_category_product index stays synchronized.

It supports both full reindexing and partial updates for specific category IDs, with built-in mutex locking to prevent concurrent index operations.

Public Methods

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