View Component 25.2
View Component Help

# Delete Documents and Ranges of Documents

If you identify individual documents or ranges of documents by their ID, you can delete them from the Content component data index by sending a `DREDELETEDOC` action (case sensitive) from your Web browser:

    http://ContentHost:indexPort/DREDELETEDOC?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 the documents that you want to delete. Use one or a combination of the following two formats: `docID`. Specify the IDs of one or more documents. 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 documents that you want to delete. 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/DREDELETEDOC?Docs=3+5+range=[7,10]

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

## Delete Documents in Knowledge Discovery Admin

After you use the Test Action tab in the Console page in the Control section of Knowledge Discovery Admin, you can delete individual documents or sets of documents from the results list in the Knowledge Discovery Admin interface.

To delete a set of documents in Knowledge Discovery Admin

1. In the results list, click Delete these documents.

   The Delete Documents dialog box opens.

2. Click Delete Documents.

To delete an individual document in Knowledge Discovery Admin

1. In the results list, click Options next to the document that you want to delete.

   The Edit query result dialog box opens.

2. Click Delete.

   The Delete dialog box opens.

3. Click Delete.

Copyright 2025 Open Text
Version 25.2 | Last updated April 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 View Component 25.2

Topic Title: Delete Documents and Ranges of Documents