Log in
Model

IndexStructure

Magento\CatalogSearch\Model\Indexer\IndexStructure

What it does

This class manages the creation and deletion of catalog search index database structures in Magento 2.

Developers interact with this class when customizing search indexing behavior or implementing custom search engines.

It acts as a delegator to the appropriate index structure implementation based on the configured search engine (MySQL or Elasticsearch).

Public Methods

  • delete()
  • create()