Delete All Documents from a Database

The DREDELDBASE action instructs the DIH to delete all documents from a database. Use the following action syntax:

http://DIHhost:IndexPort/DREDELDBASE?DREDbName=DatabaseName

When you send this action to the DIH instead of to an IDOL Server, note the following points:

  • DIHhost is the IP address (or name) of the machine on which the DIH is installed, and IndexPort is the number of the port that you use to send index actions to the DIH.
  • This action deletes all documents from all databases of the specified name in all child IDOL Servers of the DIH. Using this action might make the most sense in situations where all the child IDOL databases are identical.