Skip to content

Commit 13de5d2

Browse files
authored
Merge pull request #2411 from magento-tango/MAGETWO-86471-2
MAGETWO-86471: Slow Catalog Search Indexer [Performance]
2 parents 377426e + 9e74299 commit 13de5d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ private function getSelectForSearchableProducts(
221221
$lastProductId,
222222
$batch
223223
) {
224-
$websiteId = $this->storeManager->getStore($storeId)->getWebsiteId();
225-
$lastProductId = (int) $lastProductId;
224+
$websiteId = (int)$this->storeManager->getStore($storeId)->getWebsiteId();
225+
$lastProductId = (int)$lastProductId;
226226

227227
$select = $this->connection->select()
228228
->useStraightJoin(true)

0 commit comments

Comments
 (0)