0

If i have 1 lakh product in my store and i have re-index in Magento 2.

If i changed a product price so it is required to re-index in magento 2 to see the updated price.

And if it is required to re-index then Magento will re-index all the product from starting or just re-index the updated one.

Any help is appreciated.

1 Answer 1

1

We can perform both type of re-indexing

a) Full reindex, which means rebuilding all the indexing-related database tables.

b)Partial reindex, which means rebuilding the database tables only for the things that changed (like changing a single product attribute or price)

Please follow the given link for more detail :

https://devdocs.magento.com/guides/v2.4/extension-dev-guide/indexing.html#indexing-types

7
  • Thanks for the response one more question if i have 1 lakh product in store then update 50 more product then it will reindex 1 lakh 50 product or just 50 product. will you please help me with this.
    – Prits
    Feb 12, 2021 at 8:02
  • bin/magento indexer:reindex catalog_product_attribute Will only index your Product EAV Attributes. Please do upvote the answer if it is useful. Feb 12, 2021 at 8:12
  • Thanks for your response but it will only reindex for catalog_product_attribute and all the remain re-index is required so the product is not shown on my froentend.
    – Prits
    Feb 12, 2021 at 8:21
  • Have you used bin/magento indexer:reindex ? Feb 12, 2021 at 8:23
  • Yes I have checked on my local with 1 lakh product it will take 2 minutes 16 seconds but when i added just only 36 products with 1 lakh and on re-indexing it will take 3 minutes 12 seconds so i think it will reindex from 0. Or on updating the product is there a way to reindex only updated one. Have you any idea regarding this.
    – Prits
    Feb 12, 2021 at 8:29

Your Answer

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

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