0

I need to know that, When magento runs the indexer process on below phase.

      - Add to cart (While user add products on cart)
      - Add to wishlist (While user add products on wishlist)
      - Apply Coupon code
      - Submitting order

Your inputs are appreciable.

2
  • add to cart, add to wishlist, coupon etc do not invoke magento indexing as quote and order data is already stored in flat data format
    – huzefam
    Feb 5, 2015 at 12:49
  • to check further on magento indexes , you can refer to this answer stackoverflow.com/a/4946724/857855
    – huzefam
    Feb 5, 2015 at 12:49

1 Answer 1

3

The indexes are triggered on the following events:

Url Rewrite:

  • product save
  • category save
  • store save
  • store group save
  • config save
  • product import

Flat Category:

  • category save
  • store save
  • store group save

Categories-products association

  • product save
  • product mass action
  • store save
  • store group save
  • product import

Flat products

  • product save
  • product mass action
  • attribute save
  • attribute delete
  • store view save
  • store view delete
  • store group save
  • product import

Product prices

  • product save
  • product delete
  • product mass action
  • config save
  • product import
  • customer group save

Product attributes

  • product save
  • product delete
  • product mass action
  • attribute save
  • product import

Tag aggregation

  • product save
  • product delete
  • product mass action
  • tag save
  • tag relation save

Search

  • product save
  • product delete
  • product mass action
  • attribute save
  • attribute delete
  • store view save
  • store view delete
  • store group save
  • config save
  • product import
  • category save

[EDIT]
Every indexer model has a member var called $_matchedEntities that contain every action that can trigger a reindex. For example look at Mage_Catalog_Model_Indexer_Url

3
  • do you got this by your experience? Feb 5, 2015 at 13:04
  • 1
    @Manik experience and looking through the code. take for example the class Mage_Catalog_Model_Indexer_Url. Look at the $_matchedEntities member and you will see the actions that (can) trigger a reindex. it's the same for all the indexer models. Maybe I should put that in the answer :)
    – Marius
    Feb 5, 2015 at 13:05
  • Thanks Marius for explore the above question, it's really helpful for us... Feb 6, 2015 at 12:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.