メインコンテンツまでスキップ

AlterIndexProperties()

This operation changes the values of the specified index properties.

func (c *Client) AlterIndexProperties(ctx context.Context, opt AlterIndexPropertiesOption, callOptions ...grpc.CallOption) error

Request Parameter

Parameter

Description

Type

ctx

Context for the current call to work.

context.Context

option

Optional parameters of the methods.

AlterIndexPropertiesOption

callOptions

Optional parameters for calling the methods.

grpc.CallOption

AlterIndexPropertiesOption

This is an interface type. The alterIndexPropertiesOption struct type implements this interface. You can use NewAlterIndexPropertiesOption() to get its concrete implementation.

func NewAlterIndexPropertiesOption(collectionName string, indexName string) *alterIndexPropertiesOption

Parameter

Description

Type

collectionName

Name of the target collection of this operation.

string

indexName

Name of the index within the above-specified collection.

string

Return

Null

Example