View Component 25.1
View Component Help

# Delete All Documents from a Database

You can delete all documents from an Content component database either by sending a `DREDELDBASE` action, or by using the Knowledge Discovery Admin interface.

## Delete All Documents from a Database by Sending an Action

You can delete all documents from an Content component database by sending a `DREDELDBASE` action (case sensitive) from your Web browser:

    http://ContentHost:indexPort/DREDELDBASE?DREDbName=databaseName

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).
`databaseName` | is the name of the database whose documents you want to delete.

For example:

    http://12.3.4.56:20001/DREDELDBASE?DREDbName=Archive

This action uses port `20001` to delete all documents from the `Archive` database on a machine with the IP address `12.3.4.56`.

NOTE: This index action does not complete if the configuration file is read-only.

## Delete All Documents from a Database by using Knowledge Discovery Admin

Use the following procedure to delete all documents from a database by using the Knowledge Discovery Admin interface.

To delete all documents from a database by using Knowledge Discovery Admin

1. In the Control menu, click Databases.

2. In the Database Control column, click next to the database from which you want to delete documents.

   The Delete Documents dialog box opens.

3. Click Delete.

Copyright 2024 Open Text
Version 25.1 | Last updated January 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.1

Topic Title: Delete All Documents from a Database