Open topic with navigation

# 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 restore documents only if you have not run a `DRECOMPACT` index action since they were deleted (`DRECOMPACT` permanently removes unused documents and space from IDOL Server).

    http://IDOLhost:indexPort/DREUNDELETEDOC?Docs=docIDs

where:

`IDOLhost` | is the IP address or host name of the machine on which IDOL Server is installed.
`indexPort` | is the IDOL Server index port (specified as `IndexPort` in the `[Server]` section of the IDOL Server configuration file).
`docIDs` | is one or more individual document IDs or ranges of document IDs that specify deleted documents that you want to restore. Use one or a combination of the following two formats: `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. If you want to combine the formats, separate them with plus symbols (there must be no space before or after a plus symbol).

For example:

    http://MyHost:20001/DREUNDELETEDOC?Docs=3+5+range=[7,10]

This action uses port `20001` to restore the documents with the DocIDs `3`, `5`, `7`, `8`, `9`, and `10` to IDOL Server, which is located on a machine with the host name `MyHost`.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm