# IndexerLocation

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

Indexer location enumeration. Server should use location as hint when determining how data is given for indexing.

- **Full name:** `MFiles.IndexerLocation`
- **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-INDEXER_LOCATION_UNINITIALIZED"></a>`INDEXER_LOCATION_UNINITIALIZED` | 0 | Uninitialized. |
| <a id="v-INDEXER_LOCATION_LEGACY"></a>`INDEXER_LOCATION_LEGACY` | 1 | Indexer is internal legacy MFIndexer. |
| <a id="v-INDEXER_LOCATION_EXTERNAL"></a>`INDEXER_LOCATION_EXTERNAL` | 2 | Indexer is located outside M-Files Server computer. |

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

## Used in fields

- [`IndexingRequest.indexer_location`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexingRequest/index.md#f-indexer_location): Defines if indexer making the request is of type internal (legacy) or external.
