Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照文档的说明,我在scout配置文件中配置了索引的名称,但是在模型导入时,依旧创建了新的索引?? #4

Open
hesunfly opened this issue Jun 28, 2021 · 1 comment

Comments

@hesunfly
Copy link

hesunfly commented Jun 28, 2021

image
我配置了索引为上图所示(该索引是我使用命令行自己创建的),然后我在对应的article模型中配置了相关的信息,使用scout:import 命令导入后,发现其依旧创建了新的索引,文档说配置了index后,会作为类型存在,但是似乎不一致了
image
这是kibana中显示的索引列表,很明显数据是由问题的。不知道是不是姿势不对,刚开始接触es,感谢指教。
下图是模型的文件配置
image

@xiwufeng
Copy link

@hesunfly 我这边按文档上执行php bin/hyperf.php scout:import导入提示成功但是es没数据,请问你这边有做修改吗,后面我是手动在kibana创建索引,然后再执行该命令才成功导入

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants