ProductDataMapper
Magento\Elasticsearch\Model\Adapter\BatchDataMapper\ProductDataMapper
What it does
This class transforms Magento product data into a format suitable for Elasticsearch indexing.
It handles mapping of product attributes, converting values to searchable formats, processing date fields, and managing attribute options and labels.
Developers would use this when customizing how product data is indexed in Elasticsearch, such as adding custom attributes or modifying searchable field behavior.
Public Methods
- map()