追影 发表于 2023-4-18 17:55:59

damishop企业版本如何刷ElasticSearch索引

本帖最后由 追影 于 2023-4-25 11:47 编辑

(1)手动重建全部索引
cd console && php cmd.php reindex --all=1
(2)   reindex表记录了需要更新索引的产品action字段: 0添加1更新 2 删除
计划任务可以每隔一分钟执行:
cd console && php cmd.php reindex




页: [1]
查看完整版本: damishop企业版本如何刷ElasticSearch索引