public function reindexSpecificProducts($updateProductIds)
{
$updateProductIds = (array) $updateProductIds;
$productIds = $updateProductIds;
foreach ($updateProductIds as $updateProductId) {
if (!$this->_isProductComposite($updateProductId)) {
$parentIds = $this->_getResource()->getRelationsByChild($updateProductId);
if (!empty($parentIds)) {
$productIds = array_merge($productIds, $parentIds);
}
}
}
if (!empty($productIds)) {
$this->engine->rebuildProductIndex(null, $productIds);
}
}