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 |
---|---|---|
|
Context for the current call to work. |
|
|
Optional parameters of the methods. |
|
|
Optional parameters for calling the methods. |
|
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 |
---|---|---|
|
Name of the target collection of this operation. |
|
|
Name of the index within the above-specified collection. |
|
Return
Null
Example