[skip ci] Add GetIndexBuildProgressRequest comments in milvus.proto (#10652)

Signed-off-by: Gitea <zizhao.chen@zilliz.com>
pull/11724/head
nameczz 2021-11-15 11:25:09 +08:00 committed by GitHub
parent 34ae61d8e2
commit be18922a19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 11 deletions

View File

@ -472,12 +472,20 @@ message DescribeIndexResponse {
repeated IndexDescription index_descriptions = 2; repeated IndexDescription index_descriptions = 2;
} }
/*
* Get index building progress
*/
message GetIndexBuildProgressRequest { message GetIndexBuildProgressRequest {
common.MsgBase base = 1; // must // Not useful for now
common.MsgBase base = 1;
// Not useful for now
string db_name = 2 ; 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 field_name = 4;
string index_name = 5; // must // Not useful for now
string index_name = 5;
} }
message GetIndexBuildProgressResponse { message GetIndexBuildProgressResponse {

View File

@ -2298,15 +2298,22 @@ func (m *DescribeIndexResponse) GetIndexDescriptions() []*IndexDescription {
return nil return nil
} }
//
// Get index building progress
type GetIndexBuildProgressRequest struct { type GetIndexBuildProgressRequest struct {
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"` Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Not useful for now
FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` // The collection name in milvus
XXX_NoUnkeyedLiteral struct{} `json:"-"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_unrecognized []byte `json:"-"` // The vector field name in this collection
XXX_sizecache int32 `json:"-"` 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{} } func (m *GetIndexBuildProgressRequest) Reset() { *m = GetIndexBuildProgressRequest{} }