StringMapper
Magento\Elasticsearch8\Model\Adapter\DynamicTemplates\StringMapper
What it does
This class configures dynamic field mapping for string-type fields in Elasticsearch 8 indices.
It automatically maps all string fields as searchable text fields with indexing enabled and copies their content to a unified '_search' field for global searches.
Developers would use this when setting up Elasticsearch index templates to ensure consistent string field handling across all product and catalog data.
Public Methods
- processTemplates()