搭建完了之后,模板不存在
来源:9-8 关联模型并使用scout命令导入数据

慕码人3572504
2017-11-27
执行php artisan es:init报错“ Client error: `DELETE http://127.0.0.1:9200/_template/tmp` resulted in a `404 Not Found` response: {"error":{"root_cause":[{"type":"index_template_missing_exception","reason":"index_template [tmp] missing"}],"type":"ind (truncated...),,,这个是什么情况啊”
写回答
1回答
-
轩脉刃
2017-11-28
你先吧delete操作注释掉,执行一遍,再取消注释。这里的代码忘记考虑第一次没有模版的异常处理了。
00
相似问题