# 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:9071/DREEXPIRE?

This index action expires the documents from IDOL Server.

## Optional Parameters

This index action accepts the following standard index action parameters.

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

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm