Log in
Factory

IndexStructureFactory

Magento\CatalogSearch\Model\Indexer\IndexStructureFactory

What it does

This factory creates the appropriate index structure handler based on the configured search engine (MySQL, Elasticsearch, etc.).

Developers use this when working with catalog search indexing to ensure the correct database/search engine structure is created and maintained for the active search engine implementation.

Public Methods

  • create()