Magento CLI 2.4, in...
 
Notifications
Clear all

Magento CLI 2.4, indexer command [options] [arguments]

2 Posts
1 Users
0 Reactions
121 Views
Posts: 25
Admin
Topic starter
(@trend)
Member
Joined: 1 year ago
Magento CLI 2.4.7-p2

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands for the "indexer" namespace:
  indexer:info                  Shows allowed Indexers
  indexer:reindex               Reindexes Data
  indexer:reset                 Resets indexer status to invalid
  indexer:set-dimensions-mode   Set Indexer Dimensions Mode
  indexer:set-mode              Sets index mode type
  indexer:set-status            Sets the specified indexer status
  indexer:show-dimensions-mode  Shows Indexer Dimension Mode
  indexer:show-mode             Shows Index Mode
  indexer:status                Shows status of Indexer
Reply
1 Reply
Posts: 25
Admin
Topic starter
(@trend)
Member
Joined: 1 year ago
php bin/magento indexer:reindex cataloginventory_stock

php bin/magento indexer:reset cataloginventory_stock


Run this command to reset all index types:

php bin/magento indexer:reset
Reply
Share:

Please fill the required fields*

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.