View indexer status查看索引状态
This command enables you to view the status of all or selected indexers (for example, shows whether indexers need to be reindexed).
Command options:
到magento 2根目录,然后cd bin文件,然后执行以下代码,
php magento indexer:status [indexer]
where [indexer]
is a space-separated list of indexers. Omit [indexer]
to view status of all indexers.
To view the list of indexers, enter
magento indexer:info
A sample follows:
magento indexer:status
Sample result:
Category Products: Reindex required
Product Categories: Reindex required
Product Price: Reindex required
Product EAV: Reindex required
Stock: Reindex required
Catalog Rule Product: Reindex required
Catalog Product Rule: Reindex required
Catalog Search: Reindex required
Reindexing is discussed in the next section.
Reindex 执行索引
This command enables you to reindex all or selected indexers one time only.
This command reindexes one time only. To keep indexers up-to-date, you must set up a cron job.
Command options:
magento indexer:reindex [indexer]
where [indexer]
is a space-separated list of indexers. Omit [indexer]
to reindex all indexers.
To view the list of indexers, enter
magento indexer:info
A sample follows:
magento indexer:reindex
Sample result:
Category Products index has been rebuilt successfully in <time>
Product Categories index has been rebuilt successfully in <time>
Product Price index has been rebuilt successfully in <time>
Product EAV index has been rebuilt successfully in <time>
Stock index has been rebuilt successfully in <time>
Catalog Rule Product index has been rebuilt successfully in <time>
Catalog Product Rule index has been rebuilt successfully in <time>
Catalog Search index has been rebuilt successfully in <time>
原创文章,作者:卧龙涤生,如若转载,请注明出处:https://www.chuang-ke.com/1823
评论列表(29条)
ym rt.
ym rt.
ym rt.
ym rt.
大家不要抢!淡定,我先X完走人!
大家不要抢!淡定,我先X完走人!
大家不要抢!淡定,我先X完走人!
话说动物本身的身体结构就是适应平时生活的
不要在WP下直接粘贴代码,会被WP自动过滤的。
性与暴力,是人类史中永恒不变的主题……大概是这个意思吧
性与暴力,是人类史中永恒不变的主题……大概是这个意思吧
漫画是海外~动画改成了傻赞~然后这部还没完~海王有单独的一部电影~然后就8个站一起了……以后改big 8了?!
漫画是海外~动画改成了傻赞~然后这部还没完~海王有单独的一部电影~然后就8个站一起了……以后改big 8了?!
酒过三巡菜过五味,就是手抽筋了
最后祝你身体健康
最后祝你身体健康
又是万锅牌的啊,万锅~~
又是万锅牌的啊,万锅~~
按这个走法止损不一定来得及。不过话说这是哪天的?昨天棉花可不是这样的
按这个走法止损不一定来得及。不过话说这是哪天的?昨天棉花可不是这样的
按这个走法止损不一定来得及。不过话说这是哪天的?昨天棉花可不是这样的
现在用什么软件下李连杰啊?115都不能用了
现在用什么软件下李连杰啊?115都不能用了
现在用什么软件下李连杰啊?115都不能用了
现在用什么软件下李连杰啊?115都不能用了
逼格这么高也不能改变吸烟等于当众投毒的事实
逼格这么高也不能改变吸烟等于当众投毒的事实
逼格这么高也不能改变吸烟等于当众投毒的事实