Smirnov
Smirnov

Reputation: 139

Magento update index for selected products

Is it possible to programmatically uptate indexes only for disered products? Not for all products via

"Admin->Configuration->Index Management"

(because it freezes frontend for a long time).

I found Mage::getSingleton('catalogindex/indexer')->plainReindex($productsIds).

But it raises error on nonexisting tables "catalogindex_...".

Upvotes: 2

Views: 167

Answers (1)

liyakat
liyakat

Reputation: 11853

you can Use the "Update On Save" re-indexing mode.

it will do re-index on the fly for that single product you have saved.

For more Details you can review official Documentation link

hope this will sure help you.

Upvotes: 1

Related Questions