Administration and Maintenance > Administer IDOL Server > Delete and Restore Documents > Restore Deleted Documents

Restore Deleted Documents
If you used a DREDELETEDOC action to delete documents from the IDOL server data index, you can use a DREUNDELETEDOC action (case sensitive) to restore some or all the individual documents that you deleted. You can only restore documents if you have not executed a DRECOMPACT action since they were deleted. DRECOMPACT permanently removes unused documents and space from IDOL server:
http://IDOLhost:indexPort/DREUNDELETEDOC?docs=docIDs
where,
 
is the IDOL server index port (specified as IndexPort in the IDOL server configuration file [Server] section).
is one or more individual document IDs or ranges of document ID that specify deleted documents that you want to restore. Use one or a combination of the following two formats. (If you want to combine the formats, separate them with plus symbols (there must be no space before or after a plus symbol):
*
docID. Specify the IDs of one or more deleted documents. If you want to specify multiple document IDs, separate them with plus symbols (there must be no space before or after a plus symbol).
*
range=[min_docID,max_docID]. Enter the document ID of the first and last document in a range of deleted documents that you want to restore.
For example:
http://MyHost:20001/DREUNDELETEDOC?docs=3+5+range=[7,10]
This action uses port 20001 to restore the documents with the DOCID 3, 5, 7, 8, 9, and 10 to IDOL server that is located on a machine with host name MyHost.