Log in
Model

DataMapperResolver

Magento\Elasticsearch\Model\Adapter\BatchDataMapper\DataMapperResolver

What it does

This class acts as a resolver that maps product/entity data to Elasticsearch-compatible document format based on the entity type.

Developers use this when preparing data to be indexed in Elasticsearch, as it delegates to the appropriate data mapper based on whether you're indexing products, categories, or other entity types.

It's part of Magento's search indexing pipeline but is deprecated as Adobe no longer supports Elasticsearch.

Public Methods

  • map()