Log in
Model

IndexerHandler

Magento\Elasticsearch\Model\Indexer\IndexerHandler

What it does

This class handles indexing operations for Elasticsearch in Magento 2's catalog search functionality.

Developers interact with it when products need to be indexed, updated, or removed from the Elasticsearch search engine, such as during reindexing operations or when product data changes.

It manages batch processing of documents, index creation/deletion, and maintains cache invalidation for affected categories.

Public Methods

  • disableStackedActions()
  • enableStackedActions()
  • triggerStackedActions()
  • saveIndex()
  • deleteIndex()
  • cleanIndex()
  • isAvailable()
  • updateIndex()