I'm not able to do reindexing in magento 2. After google I get the solution that We can reindex with shell command
php dev/shell/indexer.php reindexall
But it's giving error
Could not open input file: dev/shell/indexer.php
As I can't see shell folder within dev.
fire this command from magento root via terminal
reindex all : php bin/magento indexer:reindex
reindex perticuler : php bin/magento indexer:reindex indexer_name
Where indexer_name Should be catalog_category_product,catalog_product_category,catalog_product_price,catalog_product_attribute,cataloginventory_stock,catalogrule_rule,catalogrule_product,catalogsearch_fulltext.
In your root magento directory type this:
php bin/magento indexer:reindex
This will perform a full reindex. If you wish to reindex only one of the indexers, command is as follows:
php bin/magento indexer:reindex indexer_name
where indexer_name can be found by typing:
php bin/magento indexer:info
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With