Log in
Model

DynamicTemplatesProvider

Magento\OpenSearch\Model\Adapter\DynamicTemplatesProvider

What it does

This class provides dynamic field mapping templates for OpenSearch indexes in Magento 2.

Developers use it to define how different field types (like strings, dates, prices) should be automatically mapped when creating search indexes.

It aggregates templates from multiple mapper classes to build a complete set of dynamic field mappings for the search engine.

Public Methods

  • getTemplates()