magent 2 在线Index Management索引失败的解决方法

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

(0)
上一篇 2016年4月9日 下午5:15
下一篇 2016年4月11日 下午7:44

相关推荐

评论列表(29条)

  • 新用户819512
    新用户819512 2017年4月10日 下午2:28

    ym rt.

  • 新用户819512
    新用户819512 2017年4月10日 下午2:28

    ym rt.

  • 新用户819512
    新用户819512 2017年4月10日 下午2:28

    ym rt.

  • 新用户819512
    新用户819512 2017年4月10日 下午2:28

    ym rt.

  • 新用户197939
    新用户197939 2017年4月19日 下午7:01

    大家不要抢!淡定,我先X完走人!

  • 新用户197939
    新用户197939 2017年4月19日 下午7:01

    大家不要抢!淡定,我先X完走人!

  • 新用户197939
    新用户197939 2017年4月19日 下午7:01

    大家不要抢!淡定,我先X完走人!

  • 新用户256486
    新用户256486 2017年4月21日 下午1:56

    话说动物本身的身体结构就是适应平时生活的

  • 新用户525451
    新用户525451 2017年4月22日 下午1:51

    不要在WP下直接粘贴代码,会被WP自动过滤的。

  • 新用户266643
    新用户266643 2017年4月23日 下午1:54

    性与暴力,是人类史中永恒不变的主题……大概是这个意思吧

  • 新用户266643
    新用户266643 2017年4月23日 下午1:54

    性与暴力,是人类史中永恒不变的主题……大概是这个意思吧

  • 新用户816720
    新用户816720 2017年4月24日 下午1:51

    漫画是海外~动画改成了傻赞~然后这部还没完~海王有单独的一部电影~然后就8个站一起了……以后改big 8了?!

  • 新用户816720
    新用户816720 2017年4月24日 下午1:51

    漫画是海外~动画改成了傻赞~然后这部还没完~海王有单独的一部电影~然后就8个站一起了……以后改big 8了?!

  • 新用户013016
    新用户013016 2017年4月25日 下午1:51
  • 新用户863531
    新用户863531 2017年4月26日 下午1:52

    酒过三巡菜过五味,就是手抽筋了

  • 新用户339132
    新用户339132 2017年4月27日 下午1:48

    最后祝你身体健康

  • 新用户339132
    新用户339132 2017年4月27日 下午1:48

    最后祝你身体健康

  • 新用户141298
    新用户141298 2017年4月28日 下午1:49

    又是万锅牌的啊,万锅~~

  • 新用户141298
    新用户141298 2017年4月28日 下午1:49

    又是万锅牌的啊,万锅~~

  • 新用户543524
    新用户543524 2017年4月29日 下午1:38

    按这个走法止损不一定来得及。不过话说这是哪天的?昨天棉花可不是这样的

  • 新用户543524
    新用户543524 2017年4月29日 下午1:38

    按这个走法止损不一定来得及。不过话说这是哪天的?昨天棉花可不是这样的

  • 新用户543524
    新用户543524 2017年4月29日 下午1:38

    按这个走法止损不一定来得及。不过话说这是哪天的?昨天棉花可不是这样的

  • 新用户024445
    新用户024445 2017年5月4日 下午8:37

    现在用什么软件下李连杰啊?115都不能用了

  • 新用户024445
    新用户024445 2017年5月4日 下午8:37

    现在用什么软件下李连杰啊?115都不能用了

  • 新用户024445
    新用户024445 2017年5月4日 下午8:37

    现在用什么软件下李连杰啊?115都不能用了

  • 新用户024445
    新用户024445 2017年5月4日 下午8:37

    现在用什么软件下李连杰啊?115都不能用了

  • 新用户514265
    新用户514265 2017年5月9日 下午6:56

    逼格这么高也不能改变吸烟等于当众投毒的事实

  • 新用户514265
    新用户514265 2017年5月9日 下午6:56

    逼格这么高也不能改变吸烟等于当众投毒的事实

  • 新用户514265
    新用户514265 2017年5月9日 下午6:56

    逼格这么高也不能改变吸烟等于当众投毒的事实

创客交流群