PHP Class Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Datasource\AttributeData

This class is also used to generate attribute mapping since it implements DynamicFieldProviderInterface.
Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Smile\ElasticsuiteCatalog\Model\Eav\Indexer\Fulltext\Datasource\AbstractAttributeData, implements Smile\ElasticsuiteCore\Api\Index\DatasourceInterface, implements Smile\ElasticsuiteCore\Api\Index\Mapping\DynamicFieldProviderInterface
Mostra file Open project: smile-sa/elasticsuite

Public Methods

Method Description
addData ( $storeId, array $indexData )

Private Methods

Method Description
addAttributeData ( integer $storeId, array $productIds, array $indexData = [] ) : array Append attribute data to the index.
addChildData ( array &$parentData, array $childAttributes ) : void Append data of child products to the parent.
addRelationData ( array &$parentData, array $childAttributes, array $relation ) : void Append relation information to the index for composite products.

Method Details

addData() public method

public addData ( $storeId, array $indexData )
$indexData array