Log in
Interface

FieldMapperInterface

Magento\Elasticsearch\Model\Adapter\FieldMapperInterface

What it does

This interface defines the contract for mapping Magento product attributes to Elasticsearch field names.

Developers use implementations of this interface when they need to translate attribute codes into proper Elasticsearch field names for querying, sorting, or filtering, and to retrieve type mappings for all attributes in a given context.

Public Methods

  • getFieldName()
  • getAllAttributesTypes()