# IndexingMode

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.IndexingMode/

IndexingMode enumeration.

- **Full name:** `MFiles.IndexingMode`
- **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-INDEXING_MODE_UNKNOWN"></a>`INDEXING_MODE_UNKNOWN` | 0 | Unknown. |
| <a id="v-INDEXING_MODE_IDLE"></a>`INDEXING_MODE_IDLE` | 1 | Idle. |
| <a id="v-INDEXING_MODE_NORMAL"></a>`INDEXING_MODE_NORMAL` | 2 | Normal. |
| <a id="v-INDEXING_MODE_DESTRUCTIONS"></a>`INDEXING_MODE_DESTRUCTIONS` | 3 | Destructions. |
| <a id="v-INDEXING_MODE_REBUILD_NORMAL"></a>`INDEXING_MODE_REBUILD_NORMAL` | 4 | Rebuild (normal). |
| <a id="v-INDEXING_MODE_REBUILD_DESTRUCTIONS"></a>`INDEXING_MODE_REBUILD_DESTRUCTIONS` | 5 | Rebuild (destructions). |
| <a id="v-INDEXING_MODE_RELEVANCE"></a>`INDEXING_MODE_RELEVANCE` | 6 | Relevance scores update. |
| <a id="v-INDEXING_MODE_ACL"></a>`INDEXING_MODE_ACL` | 7 | ACL-only update. |

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

## Used in fields

- [`MonitoringDatapointsForIndexingBegin.batch_mode`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MonitoringDatapointsForIndexingBegin/index.md#f-batch_mode): If not eimUnknown, identifies the current indexing mode.
- [`MonitoringDatapointsForIndexingEnd.batch_mode`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MonitoringDatapointsForIndexingEnd/index.md#f-batch_mode): If not eimUnknown, identifies the current indexing mode.
