Skip to content

Commit 0bf6396

Browse files
authored
修复milvus的indexer文档,缺乏”document配置必须搭配fields配置“这一信息,导致容易误用问题 (#1331)
1 parent 6312c91 commit 0bf6396

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

content/en/docs/eino/ecosystem_integration/indexer/indexer_milvus.md

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ type IndexerConfig struct {
116116
// Default Collection config
117117
// Collection is the collection name in milvus database
118118
// Optional, and the default value is "eino_collection"
119+
// If you want to use this configuration, you must include the Fields configuration
119120
Collection string
120121
// Description is the description for collection
121122
// Optional, and the default value is "the collection for eino"

content/zh/docs/eino/ecosystem_integration/indexer/indexer_milvus.md

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ type IndexerConfig struct {
115115
// 默认集合配置
116116
// Collection 是 milvus 数据库中的集合名称
117117
// 可选,默认值为 "eino_collection"
118+
// 如果你想使用这个配置,必须加上Field配置,否则无法正常运行
118119
Collection string
119120
// Description 是集合的描述
120121
// 可选,默认值为 "the collection for eino"

0 commit comments

Comments
 (0)