From be18922a19ed5c175580cd3d8786be30729890a0 Mon Sep 17 00:00:00 2001 From: nameczz Date: Mon, 15 Nov 2021 11:25:09 +0800 Subject: [PATCH] [skip ci] Add GetIndexBuildProgressRequest comments in milvus.proto (#10652) Signed-off-by: Gitea --- internal/proto/milvus.proto | 14 +++++++++++--- internal/proto/milvuspb/milvus.pb.go | 23 +++++++++++++++-------- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/internal/proto/milvus.proto b/internal/proto/milvus.proto index 386bf1ad6..a44da2ecf 100644 --- a/internal/proto/milvus.proto +++ b/internal/proto/milvus.proto @@ -472,12 +472,20 @@ message DescribeIndexResponse { repeated IndexDescription index_descriptions = 2; } +/* +* Get index building progress +*/ message GetIndexBuildProgressRequest { - 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 + // The collection name in milvus + string collection_name = 3; + // The vector field name in this collection string field_name = 4; - string index_name = 5; // must + // Not useful for now + string index_name = 5; } message GetIndexBuildProgressResponse { diff --git a/internal/proto/milvuspb/milvus.pb.go b/internal/proto/milvuspb/milvus.pb.go index b37c302e5..11849762d 100644 --- a/internal/proto/milvuspb/milvus.pb.go +++ b/internal/proto/milvuspb/milvus.pb.go @@ -2298,15 +2298,22 @@ func (m *DescribeIndexResponse) GetIndexDescriptions() []*IndexDescription { return nil } +// +// Get index building progress type GetIndexBuildProgressRequest struct { - Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` - DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` - CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` - FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` - IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // 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 vector field name in this collection + FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` + // Not useful for now + IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *GetIndexBuildProgressRequest) Reset() { *m = GetIndexBuildProgressRequest{} } -- GitLab