Log in
Model

FieldType

Magento\Elasticsearch\Model\Adapter\FieldType

What it does

This deprecated class determines the appropriate Elasticsearch field type (string, integer, float, or date) based on a product attribute's backend type and frontend input.

Developers previously used it when mapping Magento EAV attributes to Elasticsearch index fields, but should now use the ResolverInterface implementations instead for more complete field type resolution.

Public Methods

  • getFieldType()