Open topic with navigation

# Delete Documents by Reference

If you identify one or more documents by their reference field, you can delete them from the IDOL Server data index by sending a `DREDELETEREF` action (case sensitive) from your Web browser:

    http://IDOLhost:indexPort/DREDELETEREF?Docs=docReferences&Field=fields&DREDbName=databaseName

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).
`docReferences` | is a list of the (percent-encoded) references of the documents that you want to delete. If the references contain plus symbols (+) or spaces, percent-encode each reference, then separate multiple references with plus symbols (there must be no space before or after a plus symbol).
`fields` | is the field that contains the reference specified in the `Docs` parameter when a document has more than one reference. Separate multiple references with commas or spaces (there must be no space before or after a comma). For example, the following action:
    DREDELETEREF?Docs=myref1.txt&Field=REFFIELD1
deletes a document that contains the following references:
    #DREFIELD REFFIELD1="myref1.txt"
    #DREFIELD REFFIELD2="myref2.txt"
but does not delete a document that contains the following references:
    #DREFIELD REFFIELD1="myref2.txt"
    #DREFIELD REFFIELD2="myref1.txt"
`databaseName` | is the name of the database that the documents that you want to delete belong to. This parameter is optional. If you do not specify a database, IDOL Server deletes the document from all databases that contain it.

For example:

    http://12.3.4.56:20001/DREDELETEREF?Docs=http%3A%2F%2Fnews%2Enewssite%2Ecom%2Findex%2Ehtml+http%3A%2F%2Fnews%2Enewssite%2Ecom%2Fcoverstory%2Ehtml

This action uses port `20001` to delete the documents with the specified URLs from IDOL Server, which is located on a machine with the IP address `12.3.4.56`.

© 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