Log in
Model

PositionMapper

Magento\Elasticsearch8\Model\Adapter\DynamicTemplates\PositionMapper

What it does

This class maps Elasticsearch dynamic field templates specifically for position-related fields in product search indexes.

It configures fields matching the pattern 'position_*' (like product positions in categories) to be stored as indexed integers rather than strings, enabling proper numerical sorting and filtering in search results.

Public Methods

  • processTemplates()