Log in
Model

UpdateFulltextIndexOnProductSalabilityChange

Magento\InventoryCatalogSearch\Model\UpdateFulltextIndexOnProductSalabilityChange

What it does

This class automatically updates the catalog search fulltext index when product salability (in-stock/out-of-stock status) changes in Magento's Multi-Source Inventory system.

Developers use this to ensure search results accurately reflect product availability without manually reindexing.

It triggers only when the fulltext indexer is in scheduled mode, queuing affected products for reindexing.

Public Methods

  • execute()