# IndexEnabled

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) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

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

Holds the enabled status of the index.

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

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-enabled"></a>`enabled` | `bool` | 1 | If true, this index is enabled. |
| <a id="f-enabled_for_searching"></a>`enabled_for_searching` | `bool` | 2 | If true, this index is enabled for searching. The general "Enabled" setting must also be true for the index to actually be enabled for searching. |
| <a id="f-enabled_for_indexing"></a>`enabled_for_indexing` | `bool` | 3 | If true, this index is enabled for indexing. The general "Enabled" setting must also be true for the index to actually be enabled for indexing. |

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

## Used in fields

- [`IndexOptions.enabled_in_storage`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexOptions/index.md#f-enabled_in_storage): The enabled status of the index in the current storage.
- [`IndexOptions.enabled_effective`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexOptions/index.md#f-enabled_effective): The effective enabled status.
