Open topic with navigation

# Set up a Field Process for Expiration Dates

Use the following procedure to set up fields that determine when documents expire.

To set up fields that determine when documents expire

1. Open the HPE IDOL Server configuration file in a text editor.

2. Find the `[FieldProcessing]` section.

3. Add a new field process to the list of field processes that the `[FieldProcessing]` section contains.

   For example:

       [FieldProcessing]
       0=IndexFields
       1=IndexAndWeightHigher

4. To add a new field process, add a new line to the `[FieldProcessing]` section:

       [FieldProcessing]
       0=IndexFields
       1=IndexAndWeightHigher
       2=ExpireDateFields

   The listed field processes are numbered in consecutive order, starting from 0 (zero).

5. Create a section for your new field process in the configuration file. Create a property for the new process, and use the `PropertyFieldCSVs` parameter to identify the document fields that determine whether documents expire (a document expires when the time in this field elapses).

   For example:

       [ExpireDateFields]
       Property=SetExpireDate
       PropertyFieldCSVs=*/DREEXPIRE,*/valid_time

6. Create a section for your new property in the configuration file, and set the `ExpireDateType` to `true` to indicate that the associated `PropertyFieldCSVs` fields hold the document expiration date.

   To include an extra offset from the expiration date in the field, set `ExpireAfterDelay` to the number of hours (positive or negative) by which to offset the field expiration date.

   For example:

       [SetExpireDate]
       ExpireDateType=True
       ExpireAfterDelay=12

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback 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. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm