DropIndexProperties()
Addedv2.5.x
This operation drops the settings of the specified index properties.
func (c *Client) DropIndexProperties(ctx context.Context, opt DropIndexPropertiesOption, callOptions ...grpc.CallOption) error
Request Parameters
Parameter | Description | Type |
|---|---|---|
| Context for the current call to work. |
|
| Optional parameters of the methods. | |
| Optional parameters for calling the methods. |
|
DropIndexPropertiesOption
This is an interface type. The dropIndexPropertiesOption struct type implements this interface. You can use NewDropIndexPropertiesOption() to get its concrete implementation.
NewDescribeIndexPropertiesOption
This method prepares the options for DropIndexProperties(). The signature of this method is as follows:
func NewDropIndexPropertiesOption(collectionName string, indexName string, keys ...string) *dropIndexPropertiesOption
Parameter | Description | Type |
|---|---|---|
| Name of the target collection of this operation. |
|
| Name of the index within the above-specified collection. |
|
| Names of the properties to drop |
|
Return
Null
Example