Log in
Factory

IndexerHandlerFactory

Magento\CatalogSearch\Model\Indexer\IndexerHandlerFactory

What it does

This factory class creates the appropriate search indexer handler based on the currently configured search engine (e.g., Elasticsearch, MySQL).

Developers use this when they need to programmatically create indexer handlers for catalog search operations, ensuring the correct handler is instantiated for the active search engine configuration.

Public Methods

  • create()