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

同步es8需要删除client.go 文件的type字段检测 #410

Open
chenshiforever opened this issue Apr 9, 2024 · 1 comment
Open

同步es8需要删除client.go 文件的type字段检测 #410

chenshiforever opened this issue Apr 9, 2024 · 1 comment

Comments

@chenshiforever
Copy link

chenshiforever commented Apr 9, 2024

删除这里elastic/client.go文件中的判断语句

if len(r.Type) > 0 {
	metaData["_type"] = r.Type
}

方案来源于https://blog.csdn.net/itopit/article/details/124438315

@chenshiforever
Copy link
Author

已经验证可以使用,删除这段代码以后再make,es8.9测试成功

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

1 participant