I have tried reading a much as I can on how to reindex my new magento 2.0 install. And the more I read the more confused and frustrated I get. I am not a developer so have a limited knowledge of coding. I have also tried Youtube and have yet to find something that helps me do what I need to.
I currently get this error -
When I go to Index Management I have the option to Update on Save or Update on Schedule. When I do either it does not reindex.
I need very basic step by step help.
Thanks
To re index Magento 2 run the following command in magento root directory.
php bin/magento indexer:reindex [indexer]
php bin/magento indexer:reindex catalog_product_attribute
To find the indexes name run the following command
php bin/magento indexer:info customer_grid Customer Grid catalog_category_product Category Products catalog_product_category Product Categories catalog_product_price Product Price catalog_product_attribute Product EAV cataloginventory_stock Stock catalogsearch_fulltext Catalog Search catalogrule_rule Catalog Rule Product catalogrule_product Catalog Product Rule
Please refer following documentation Indexing
Where do I find the Root directory? this is where I'm running into problems. I know what I need to add, just don't fully understand how to find where I add it.
Suppose you installed Magento in side var/www/html directory as following
var/www/htm/magento2
Then on your console you have to go to magento2 directory and run the command.