BatchDataMapperInterface
Magento\Elasticsearch\Model\Adapter\BatchDataMapperInterface
What it does
This interface defines a contract for mapping Magento product attribute data into a format suitable for Elasticsearch indexing.
Developers implement this interface when they need to transform raw product data (organized by attribute IDs and entity IDs) into the document structure that Elasticsearch expects for searching and filtering.
It's commonly used during product reindexing to prepare data for the search engine.
Public Methods
- map()