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.
on stackoverflow but I get the next error:
'php' is not recognized as an internal or external command,
operable program or batch file.
Why? I'm running the code on this directory
C:\wamp64\www\Magento
So what I do is this:
C:\wamp64\www\Magento php bin/magento indexer:reindex
Thanks in advance (I'm new to Magento, so please keep that in my while suggesting something)