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

使用elastic数据源,存储数据失败 #1427

Open
aibots-team opened this issue Dec 5, 2023 · 1 comment
Open

使用elastic数据源,存储数据失败 #1427

aibots-team opened this issue Dec 5, 2023 · 1 comment
Labels
bug Something isn't working sdk SDK related

Comments

@aibots-team
Copy link

Describe the bug
使用elastic数据源,存储数据失败

2023-12-05 20:57:18 "version" : {
2023-12-05 20:57:18 "number" : "8.10.2",
2023-12-05 20:57:18 "build_flavor" : "default",
2023-12-05 20:57:18 "build_type" : "docker",
2023-12-05 20:57:18 "build_hash" : "6d20dd8ce62365be9b1aca96427de4622e970e9e",
2023-12-05 20:57:18 "build_date" : "2023-09-19T08:16:24.564900370Z",
2023-12-05 20:57:18 "build_snapshot" : false,
2023-12-05 20:57:18 "lucene_version" : "9.7.0",
2023-12-05 20:57:18 "minimum_wire_compatibility_version" : "7.17.0",
2023-12-05 20:57:18 "minimum_index_compatibility_version" : "7.0.0"
2023-12-05 20:57:18 },
2023-12-05 20:57:18 "tagline" : "You Know, for Search"

2023-12-05 20:55:46 /usr/local/go/src/runtime/asm_amd64.s:1571 runtime.goexit()
2023-12-05 20:55:46 [ElasticsearchService] [400 Bad Request] error inserting record: {"_col":"results_Quotes","_tid":"656f1dcaa46a17eb1b2af5c4","author":["Dr. Seuss"],"tags":[["inspirational"]],"text":["“A person's a person, no matter how small.”"]}
2023-12-05 20:55:46 /go/pkg/mod/github.com/crawlab-team/go-trace@v0.1.1/trace.go:6 github.com/crawlab-team/go-trace.PrintError()
2023-12-05 20:55:46 /go/pkg/mod/github.com/crawlab-team/crawlab-core@v0.6.3-0.20231031044528-37e6d73eb203/ds/es.go:82 github.com/crawlab-team/crawlab-core/ds.(*ElasticsearchService).Insert.func1()

测试爬虫代码
656ec29d17dc482c2e4e5456.zip

@aibots-team aibots-team added the bug Something isn't working label Dec 5, 2023
@aibots-team aibots-team changed the title 使用elastc数据源,存储数据失败 使用elastic数据源,存储数据失败 Dec 5, 2023
@aibots-team
Copy link
Author

使用docker部署的0.6.3版本

@tikazyq tikazyq added the sdk SDK related label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sdk SDK related
Projects
None yet
Development

No branches or pull requests

2 participants