# IndexManagementOperation

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.IndexManagementOperation/

Index management operations.

- **Full name:** `MFiles.IndexManagementOperation`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-INDEX_MANAGEMENT_OPERATION_UNKNOWN"></a>`INDEX_MANAGEMENT_OPERATION_UNKNOWN` | 0 | Unknown operation. |
| <a id="v-INDEX_MANAGEMENT_OPERATION_REBUILD"></a>`INDEX_MANAGEMENT_OPERATION_REBUILD` | 1 | Rebuild index. |
| <a id="v-INDEX_MANAGEMENT_OPERATION_REINDEX"></a>`INDEX_MANAGEMENT_OPERATION_REINDEX` | 2 | Perform re-index operation. |
| <a id="v-INDEX_MANAGEMENT_OPERATION_ACTIVATE"></a>`INDEX_MANAGEMENT_OPERATION_ACTIVATE` | 3 | Activate index. |
| <a id="v-INDEX_MANAGEMENT_OPERATION_ENABLE"></a>`INDEX_MANAGEMENT_OPERATION_ENABLE` | 4 | Enable index for indexing. |
| <a id="v-INDEX_MANAGEMENT_OPERATION_DISABLE"></a>`INDEX_MANAGEMENT_OPERATION_DISABLE` | 5 | Disable index. |
| <a id="v-INDEX_MANAGEMENT_OPERATION_DELETE"></a>`INDEX_MANAGEMENT_OPERATION_DELETE` | 6 | Delete index. |

<a id="used-in-fields"></a>

## Used in fields

- [`IndexManagementOperationArray.index_management_operations`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexManagementOperationArray/index.md#f-index_management_operations): An array of the IndexManagementOperation enums.
- [`IndexManagementOperationData.operation`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexManagementOperationData/index.md#f-operation): Operation to be executed.
