# DREUNDELETEDOC

Allows you to restore deleted documents. This method can restore documents deleted by any method (DREDELETEDOC, DREDELETEREF, KillDuplicates and so on), but you must use the document ID to determine the document to restore.

You can use this index action to restore documents only if you have not run a DRECOMPACT index action since the deletion. DRECOMPACT permanently removes the unused documents and space from IDOL Server.

NOTE: If you have turned on the NodeTableSecureDelete configuration parameter, the `DREUNDELETEDOC` index action is not available.

## Example

    http://12.3.4.56:9101/DREUNDELETEDOC?docs=3+5+range=[7,10]

This index action restores the documents with the DOCID `3`, `5`, `7`, `8`, `9`, and `10` to IDOL Server.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
Docs | The IDs of the documents to restore.

## Optional Parameters

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