'includes' =>
['id', 'mainVariantId', 'variantId', 'number'
],
],
'properties' =>
[ // Identifiers
'id' => TypeMappingInterface::MAPPING_LONG_FIELD,
'mainVariantId' => TypeMappingInterface::MAPPING_LONG_FIELD,
'variantId' => TypeMappingInterface::MAPPING_LONG_FIELD,
// Number fields
'number' =>
array_merge($this->textMapping->
getTextField(),
['analyzer' => 'standard', 'fields' =>
['raw' =>
$this->textMapping->
getKeywordField()]]),
'ean' =>
$this->textMapping->
getKeywordField(),
'manufacturerNumber' =>
$this->fieldMapping->
getLanguageField($shop),
// Language fields
'name' =>
$this->fieldMapping->
getLanguageField($shop),
'shortDescription' =>
$this->fieldMapping->
getLanguageField($shop),
'longDescription' =>
$this->fieldMapping->
getLanguageField($shop),
'additional' =>
$this->fieldMapping->
getLanguageField($shop),
'keywords' =>
$this->fieldMapping->
getLanguageField($shop),
'metaTitle' =>
$this->fieldMapping->
getLanguageField($shop),
// Other fields
'calculatedPrices' =>
$this->
getCalculatedPricesMapping($shop),