Proxy Component 25.4
Proxy Component Help

# Restore Deleted Documents

If you used a `DREDELETEDOC` action to delete documents from the Content component 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 the index).

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

where:

`ContentHost` | is the IP address or host name of the machine on which the Content component is installed.
`indexPort` | is the Content component index port (specified as `IndexPort` in the `[Server]` section of the Content component 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 the Content component, which is located on a machine with the host name `MyHost`.

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Proxy Component 25.4

Topic Title: Restore Deleted Documents