Rebuilding Magento 2 Indexes from the Terminal

Rebuilding Magento 2 Indexes from the Terminal

After imports or large catalogue changes, Magento 2 needs its indexes rebuilt. The command line is the reliable way to do it.

From the Magento root

php bin/magento indexer:reindex

From inside the bin folder

php magento indexer:reindex

For day-to-day running, set indexers to Update by Schedule and make sure Magento’s cron is configured, so changes are indexed automatically in small batches.

Stuck on something similar? Our Magento development team is happy to take a look.

Keep reading

Related articles

All articles

Need a hand?

Stuck on something similar?
We can fix it with you.

Send us the problem. A senior developer reads every message and replies within one working day.