Skip to content

Commit

Permalink
Remove a outdated comment
Browse files Browse the repository at this point in the history
Signed-off-by: wayblink <anyang.wang@zilliz.com>
  • Loading branch information
wayblink committed Aug 30, 2023
1 parent 9124e54 commit f990730
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ func (c *GrpcClient) CreateIndex(ctx context.Context, collName string, fieldName
}

// DescribeIndex describe index
// Deprecate please use DescribeIndexV2 instead.
func (c *GrpcClient) DescribeIndex(ctx context.Context, collName string, fieldName string, opts ...IndexOption) ([]entity.Index, error) {
if c.Service == nil {
return []entity.Index{}, ErrClientNotReady
Expand Down Expand Up @@ -190,7 +189,6 @@ func (c *GrpcClient) DropIndex(ctx context.Context, collName string, fieldName s
}

// GetIndexState get index state
// Deprecate please use DescribeIndexV2 instead.
func (c *GrpcClient) GetIndexState(ctx context.Context, collName string, fieldName string, opts ...IndexOption) (entity.IndexState, error) {
if c.Service == nil {
return entity.IndexState(commonpb.IndexState_Failed), ErrClientNotReady
Expand Down Expand Up @@ -218,7 +216,6 @@ func (c *GrpcClient) GetIndexState(ctx context.Context, collName string, fieldNa
}

// GetIndexBuildProgress get index building progress
// Deprecate please use DescribeIndexV2 instead.
func (c *GrpcClient) GetIndexBuildProgress(ctx context.Context, collName string, fieldName string, opts ...IndexOption) (total, indexed int64, err error) {
if c.Service == nil {
return 0, 0, ErrClientNotReady
Expand Down

0 comments on commit f990730

Please sign in to comment.