Magento indexes the data such as products, categories, and so on to improve the performance of your storefront. When any changes have been made to your store, the data needs to be updated or reindexed, then the changes could show up on the front end.
Reindex data using command line
- Log in to the server using SSH credentials
- Navigate to your Magento root and run the follow command to see a list of all indexers:
php bin/magento indexer:info
3. To reindex any indexer, run:
php bin/magento indexer:reindex [indexer]
[indexer] is a space-separated list of indexers
For example, the command below:
php bin/magento indexer:reindex catalogsearch_fulltext customer_grid
Will reindex the Catalog Search and the Customer Grid indexers.
Alternatively, to reindex all of your indexers, simply run this command:
php bin/magento indexer:reindex
Hope this helps!