Skip to content

Commit

Permalink
enhance: Export AlterIndex API in client interface (#722)
Browse files Browse the repository at this point in the history
`AlterIndex` has already been implemented but not exported in client
interface.

Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Apr 16, 2024
1 parent 5014c05 commit 150a59f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ type Client interface {
// GetIndexState get index state with specified collection and field name
// index naming is not supported yet
GetIndexState(ctx context.Context, collName string, fieldName string, opts ...IndexOption) (entity.IndexState, error)
// AlterIndex modifies the index params.
AlterIndex(ctx context.Context, collName, indexName string, opts ...IndexOption) error

// -- basic operation --

Expand Down

0 comments on commit 150a59f

Please sign in to comment.