Skip to content

Commit

Permalink
feat: disable partial reindexing for categories
Browse files Browse the repository at this point in the history
since it will be implemented as part of #11
  • Loading branch information
real34 committed Oct 29, 2019
1 parent 9903800 commit d5bf5d4
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ protected function _processEvent(Mage_Index_Model_Event $event)
$this->_getIndexer()->resetSearchResults();
}
} else if (isset($data['catalogsearch_category_update_product_ids'])) {
$productIds = $data['catalogsearch_category_update_product_ids'];
$categoryIds = $data['catalogsearch_category_update_category_ids'];
$this->_getMapping('category')->rebuildIndex(null, $categoryIds);
// Nothing to do yet. To be done as part of https://github.com/front-commerce/magento1-elasticsuite-indexer/issues/11
}
}

Expand Down

0 comments on commit d5bf5d4

Please sign in to comment.