magento dev
magento dev

Reputation: 98

How we can reindex magento indexes in magento 2.0

I'm want to do reindexing in magento 2. We can reindex with terminal command?

Upvotes: 2

Views: 956

Answers (2)

Yogesh Trivedi
Yogesh Trivedi

Reputation: 149

Get list of available indexing in Magento 2

magento indexer:info

Check indexing status

magento indexer:status

Even you can check individual indexing status using below command

magento indexer:status catalog_category_product

How to reindex all available indexing in Magento 2

magento indexer:reindex

In case you fill memory limit, try this command

php -dmemory_limit=2G magento indexer:reindex

Upvotes: 0

Pratik Kamani
Pratik Kamani

Reputation: 758

Magento 2: reindexing is not working

fire this command from magento root via terminal

to reindex all :

php bin/magento indexer:reindex

OR

reindex perticuler :

php bin/magento indexer:reindex indexer_name

Where indexer_name Should be from followings:

  • catalog_category_product
  • catalog_product_category
  • catalog_product_price
  • catalog_product_attribute
  • cataloginventory_stock
  • catalogrule_rule
  • catalogrule_product
  • catalogsearch_fulltext

Upvotes: 4

Related Questions