File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
en/docs/eino/ecosystem_integration/indexer
eino/ecosystem_integration/indexer
kitex/Tutorials/third-party Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ type IndexerConfig struct {
116
116
// Default Collection config
117
117
// Collection is the collection name in milvus database
118
118
// Optional, and the default value is "eino_collection"
119
+ // If you want to use this configuration, you must include the Fields configuration
119
120
Collection string
120
121
// Description is the description for collection
121
122
// Optional, and the default value is "the collection for eino"
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ type IndexerConfig struct {
115
115
// 默认集合配置
116
116
// Collection 是 milvus 数据库中的集合名称
117
117
// 可选,默认值为 "eino_collection"
118
+ // 如果你想使用这个配置,必须加上Field配置,否则无法正常运行
118
119
Collection string
119
120
// Description 是集合的描述
120
121
// 可选,默认值为 "the collection for eino"
Original file line number Diff line number Diff line change @@ -173,6 +173,8 @@ func main(){
173
173
174
174
Server
175
175
176
+ 注意事项:通过` NewOpenTelemetryProvider ` 创建的provider实例会持有trace/metric exporter client,在重复初始化时需要显式调用前一个实例的` Shutdown ` 方法来关闭其维护的所有exporter client,否则将导致资源泄露和网络连接混乱问题。
177
+
176
178
``` go
177
179
import (
178
180
...
You can’t perform that action at this time.
0 commit comments