Open topic with navigation

# DREEXPIRE

Allows you to delete or archive documents that have reached a specific age. By default, documents are deleted when they expire. To archive them instead, specify the name of the database to use for archiving in the `ExpireIntoDatabase` parameter in each of the Distributed Index Handler configuration file database sections.

The date that determines whether a document must be expired can be read from a field in the document or from the expiry time that is set for the database that contains the document. If IDOL Server is unable to determine whether a document must be expired (because the document does not contain a field that sets its expiry date and the document database has no expiry time set), IDOL Server does not expire the document.

## Example

    http://12.3.4.56:20001/DREEXPIRE?

This index action uses port `20001` to expire the documents from Distributed Index Handler, which is located on a machine with the IP address `12.3.4.56`.

## Parameters

Parameter | Description | Required
--- | --- | ---
IgnoreMaxPendingItems | Whether to ignore the IndexQueueMaxPendingItems limit for this index action. |
IndexUID | An identification code for any document tracking events. |
Priority | The priority for the index job. |

© 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