Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
milvus
milvus
提交
da922876
M
milvus
项目概览
milvus
/
milvus
11 个月 前同步成功
通知
261
Star
22476
Fork
2472
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
milvus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
da922876
编写于
9月 28, 2021
作者:
N
nameczz
提交者:
GitHub
9月 28, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[skip ci] Improve comments in milvus.proto (#8352)
Signed-off-by:
N
Gitea
<
zizhao.chen@zilliz.com
>
上级
0e50fa2d
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
96 addition
and
40 deletion
+96
-40
internal/proto/milvus.proto
internal/proto/milvus.proto
+42
-12
internal/proto/milvuspb/milvus.pb.go
internal/proto/milvuspb/milvus.pb.go
+54
-28
未找到文件。
internal/proto/milvus.proto
浏览文件 @
da922876
...
...
@@ -270,32 +270,62 @@ message CreatePartitionRequest {
string
partition_name
=
4
;
}
/*
* Drop partition in created collection.
*/
message
DropPartitionRequest
{
common.MsgBase
base
=
1
;
// must
// Not useful for now
common.MsgBase
base
=
1
;
// Not useful for now
string
db_name
=
2
;
string
collection_name
=
3
;
// must
string
partition_name
=
4
;
// must
// The collection name in milvus
string
collection_name
=
3
;
// The partition name you want to drop
string
partition_name
=
4
;
}
/*
* Check if partition exist in collection or not.
*/
message
HasPartitionRequest
{
common.MsgBase
base
=
1
;
// must
// Not useful for now
common.MsgBase
base
=
1
;
// Not useful for now
string
db_name
=
2
;
string
collection_name
=
3
;
// must
string
partition_name
=
4
;
// must
// The collection name in milvus
string
collection_name
=
3
;
// The partition name you want to check
string
partition_name
=
4
;
}
/*
* Load specific partitions data of one collection into query nodes
* Then you can get these data as result when you do vector search on this collection.
*/
message
LoadPartitionsRequest
{
common.MsgBase
base
=
1
;
// must
// Not useful for now
common.MsgBase
base
=
1
;
// Not useful for now
string
db_name
=
2
;
string
collection_name
=
3
;
// must
repeated
string
partition_names
=
4
;
// must
// The collection name in milvus
string
collection_name
=
3
;
// The partition names you want to load
repeated
string
partition_names
=
4
;
}
/*
* Release specific partitions data of one collection from query nodes.
* Then you can not get these data as result when you do vector search on this collection.
*/
message
ReleasePartitionsRequest
{
common.MsgBase
base
=
1
;
// must
// Not useful for now
common.MsgBase
base
=
1
;
// Not useful for now
string
db_name
=
2
;
string
collection_name
=
3
;
// must
repeated
string
partition_names
=
4
;
// must
// The collection name in milvus
string
collection_name
=
3
;
// The partition names you want to release
repeated
string
partition_names
=
4
;
}
message
GetPartitionStatisticsRequest
{
...
...
internal/proto/milvuspb/milvus.pb.go
浏览文件 @
da922876
...
...
@@ -1208,10 +1208,16 @@ func (m *CreatePartitionRequest) GetPartitionName() string {
return
""
}
//
// Drop partition in created collection.
type
DropPartitionRequest
struct
{
// Not useful for now
Base
*
commonpb
.
MsgBase
`protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName
string
`protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName
string
`protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition name you want to drop
PartitionName
string
`protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
...
...
@@ -1271,10 +1277,16 @@ func (m *DropPartitionRequest) GetPartitionName() string {
return
""
}
//
// Check if partition exist in collection or not.
type
HasPartitionRequest
struct
{
// Not useful for now
Base
*
commonpb
.
MsgBase
`protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName
string
`protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName
string
`protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition name you want to check
PartitionName
string
`protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
...
...
@@ -1334,10 +1346,17 @@ func (m *HasPartitionRequest) GetPartitionName() string {
return
""
}
//
// Load specific partitions data of one collection into query nodes
// Then you can get these data as result when you do vector search on this collection.
type
LoadPartitionsRequest
struct
{
// Not useful for now
Base
*
commonpb
.
MsgBase
`protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName
string
`protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName
string
`protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition names you want to load
PartitionNames
[]
string
`protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
...
...
@@ -1397,10 +1416,17 @@ func (m *LoadPartitionsRequest) GetPartitionNames() []string {
return
nil
}
//
// Release specific partitions data of one collection from query nodes.
// Then you can not get these data as result when you do vector search on this collection.
type
ReleasePartitionsRequest
struct
{
// Not useful for now
Base
*
commonpb
.
MsgBase
`protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName
string
`protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName
string
`protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition names you want to release
PartitionNames
[]
string
`protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录