Log in
Model

PriceMapper

Magento\Elasticsearch8\Model\Adapter\DynamicTemplates\PriceMapper

What it does

This class configures Elasticsearch 8 dynamic field mapping templates specifically for price-related fields.

It ensures that any field matching the pattern 'price_*' is automatically mapped as a double data type in Elasticsearch, which is essential for accurate price storage and numeric operations.

Developers would use this to maintain consistent price field handling across the product catalog in Elasticsearch indices.

Public Methods

  • processTemplates()