hyperf / hyperf/scout

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

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
6
Forks
3
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/33787409/123641546-f093c280-d854-11eb-94e3-d26eb823c6f4.png)
我配置了索引为上图所示(该索引是我使用命令行自己创建的),然后我在对应的article模型中配置了相关的信息,使用scout:import 命令导入后,发现其依旧创建了新的索引,文档说配置了index后,会作为类型存在,但是似乎不一致了
![image](https://user-images.githubusercontent.com/33787409/123641764-318bd700-d855-11eb-80ac-c09edabdcb14.png)
这是kibana中显示的索引列表,很明显数据是由问题的。不知道是不是姿势不对,刚开始接触es,感谢指教。
下图是模型的文件配置
![image](https://user-images.githubusercontent.com/33787409/123641857-49635b00-d855-11eb-8ce3-bb1942eef30a.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.