[skip ci] Update comment for create index (#8959)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
pull/9059/head
Cai Yudong 2021-10-02 09:58:03 +08:00 committed by GitHub
parent cfd8004345
commit 6f1635bdf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,8 @@ type RootCoord interface {
// The `ErrorCode` of `Status` is `Success` if create index successfully;
// otherwise, the `ErrorCode` of `Status` will be `Error`, and the `Reason` of `Status` will record the fail cause.
// error is always nil
//
// RootCoord forwards this request to IndexCoord to create index
CreateIndex(ctx context.Context, req *milvuspb.CreateIndexRequest) (*commonpb.Status, error)
// DescribeIndex notifies RootCoord to get specified index information for specified field