# DRECHANGEMETA

Allows you to identify individual documents or document ranges by their references or IDs, and change the value of their importance rating, database, index date, and expire date.

You must specify the documents to modify by using one of Docs, Refs or StateID. You then set Type to the metadata field to modify, and NewValue to the value to chnage it to.

NOTE: You can identify ranges only using IDs.

## Example

    http://12.3.4.56:9071/DRECHANGEMETA?Type=database&Docs=3+5+range=[7,10]&NewValue=Archive

This index action changes the database that stores the documents with the IDs `3`, `5`, `7`, `8`, `9` and `10` to the `Archive` database.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
NewValue | The value to set the Type field to.
Type | The metadata field to change the value of.

You must set one of the following parameters.

Parameter | Description
--- | ---
Docs | The IDs of documents to change the metadata for.
Refs | The references of documents to change the metadata for.
StateID | The name of a state token that specifies the documents to change the metadata for.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
Field | The name of the reference field that you are using in Refs.

This index action accepts the following standard index action parameters.

Parameter | Description
--- | ---
IgnoreMaxPendingItems | Whether to ignore the IndexQueueMaxPendingItems limit for this index action.
IndexUID | An identification code for any document tracking events.
NoArchive | Turn off configured archiving for the index action.
Priority | The priority for the index job.

_FT_HTML5_bannerTitle.htm