35 private $storeManager;
40 private $scopeResolver;
54 $this->scopeResolver = $scopeResolver;
66 $select = $this->resource->getConnection()->select();
71 [$mainTableAlias => $this->resource->getTableName(
'catalog_product_index_eav')],
72 [
'entity_id' =>
'entity_id']
74 $this->resource->getConnection()->quoteInto(
75 sprintf(
'%s.store_id = ?', $mainTableAlias),
76 $this->storeManager->getStore()->getId()
88 'eav_index.entity_id = search_index.entity_id',
91 [
'cea' => $this->resource->getTableName(
'catalog_eav_attribute')],
92 'search_index.attribute_id = cea.attribute_id',
98 return $selectContainer;
isFullTextSearchRequired()
__construct(ResourceConnection $resource, StoreManagerInterface $storeManager, IndexScopeResolver $scopeResolver)
updateSelect(Select $select)
createBaseSelect(SelectContainer $selectContainer)