PHP Class Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Action\Full

Author: Aurelien FOUCRET ([email protected])
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( Full $resourceModel ) Constructor.
rebuildStoreIndex ( integer $storeId, array | null $productIds = null ) : array Get data for a list of product in a store id.

Private Methods

Method Description
getSearchableProducts ( integer $storeId, string $productIds = null ) : array Load a bulk of product data.

Method Details

__construct() public method

Constructor.
public __construct ( Full $resourceModel )
$resourceModel Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Indexer\Fulltext\Action\Full Indexer resource model.

rebuildStoreIndex() public method

If the product list ids is null, all products data will be loaded.
public rebuildStoreIndex ( integer $storeId, array | null $productIds = null ) : array
$storeId integer Store id.
$productIds array | null List of product ids.
return array