Log in
Model

IndexStructure

Magento\Elasticsearch\Model\Indexer\IndexStructure

What it does

This class manages the creation and deletion of Elasticsearch index structures in Magento 2.

Developers would use this when setting up or tearing down search indexes for different store scopes, such as when reindexing catalog data or removing old indexes.

It acts as a bridge between Magento's indexer framework and the Elasticsearch adapter.

Public Methods

  • delete()
  • create()