# IndexingRequest

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

Indexing request.

- **Full name:** `MFiles.IndexingRequest`
- **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-options_obsolete"></a>`options_obsolete` | `uint32` | 1 | Control flags for the request. |
| <a id="f-options"></a>`options` | [`INDEXINGREQUESTFLAGS`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.INDEXINGREQUESTFLAGS/index.md) | 7 | Control flags for the request. |
| <a id="f-index_name"></a>`index_name` | [`IndexName`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexName/index.md) | 2 | Identifies the index. |
| <a id="f-auxiliary_indexer_id"></a>`auxiliary_indexer_id` | `string` | 3 | If not null, identifies auxiliary indexer that consumes the data. |
| <a id="f-partition"></a>`partition` | [`IndexerPartition`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexerPartition/index.md) | 4 | If set, specifies how to partition the candidate objects for this caller. |
| <a id="f-last_indexed_timestamp"></a>`last_indexed_timestamp` | [`LogicalTimestamp`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LogicalTimestamp/index.md) | 5 | The last indexed logical timestamp. Ignored if its type is `LOGICAL_TIMESTAMP_TYPE_IGNORED`. |
| <a id="f-last_change_tracking_timestamp"></a>`last_change_tracking_timestamp` | [`LogicalTimestamp`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LogicalTimestamp/index.md) | 6 | Change Tracking version from last indexed logical timestamp. |
| <a id="f-indexer_location"></a>`indexer_location` | [`IndexerLocation`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.IndexerLocation/index.md) | 8 | Defines if indexer making the request is of type internal (legacy) or external. Values: `INDEXER_LOCATION_UNINITIALIZED` (0), `INDEXER_LOCATION_LEGACY` (1), `INDEXER_LOCATION_EXTERNAL` (2). |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCIndexingDataSource.GetNextFilesForFIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetNextFilesForFIX/index.md): Gets next object files for file data indexing.
- [IRPCIndexingDataSource.GetNextObjectsForIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetNextObjectsForIX/index.md): Gets next objects and their data for indexing.
- [IRPCIndexingDataSource.GetNextObjectsForMIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetNextObjectsForMIX/index.md): Gets next objects and their data for metadata indexing.
- [IRPCIndexingDataSource.GetSmallestTimestampForFiledataIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetSmallestTimestampForFiledataIX/index.md): Gets the smallest timestamp of a file that has been modified since specific Change Tracking version. Returns also the current Change Tracking version.
- [IRPCIndexingDataSource.GetSmallestTimestampForMetadataIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetSmallestTimestampForMetadataIX/index.md): Gets the smallest timestamp of an object that has been modified since specific Change Tracking version. Returns also the current Change Tracking version.
- [IRPCIndexingDataSource.HasMoreObjectsForFiledataIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/HasMoreObjectsForFiledataIX/index.md): Checks whether object files are waiting for a file data index, and optionally how many.
- [IRPCIndexingDataSource.HasMoreObjectsForIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/HasMoreObjectsForIX/index.md): Checks whether objects are waiting for a combined index, and optionally how many.
- [IRPCIndexingDataSource.HasMoreObjectsForMetadataIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/HasMoreObjectsForMetadataIX/index.md): Checks whether objects are waiting for a metadata index, and optionally how many.

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

## Used in fields

- [`GetNextObjectsForMIXRequest.indexing_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetNextObjectsForMIX/index.md#request): General information about the request.
- [`GetNextFilesForFIXRequest.indexing_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetNextFilesForFIX/index.md#request): General information about the request.
- [`HasMoreObjectsForMetadataIXRequest.indexing_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/HasMoreObjectsForMetadataIX/index.md#request): General information about the request.
- [`HasMoreObjectsForFiledataIXRequest.indexing_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/HasMoreObjectsForFiledataIX/index.md#request): General information about the request.
- [`GetNextObjectsForIXRequest.indexing_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetNextObjectsForIX/index.md#request): General information about the request.
- [`HasMoreObjectsForIXRequest.indexing_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/HasMoreObjectsForIX/index.md#request): General information about the request.
- [`GetSmallestTimestampForMetadataIXRequest.indexing_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetSmallestTimestampForMetadataIX/index.md#request): General information about the request.
- [`GetSmallestTimestampForFiledataIXRequest.indexing_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetSmallestTimestampForFiledataIX/index.md#request): General information about the request.
