# IncludeExpiredResults

Set `IncludeExpiredResults` to `False` if you want IDOL Server to check the expiration dates for documents at query time, and exclude any documents that have expired.

IDOL Server document expiration runs on a schedule, which periodically checks the index for documents that have an expiration date in the past and delete them. By default, IDOL Server queries can return any matching documents that have expired since the last schedule was run.

To ensure that only active documents return, set `IncludeExpiredResults` to `False`. In this case, IDOL Server runs a check at query time and removes documents from the results if they have an expiration date in the past.

If you have set the ExpireIntoDatabase parameter to archive documents, this parameter has no effect.

NOTE: If your IDOL Server has an ExpireTime enforced by your license, `IncludeExpiredResults` is implicitly set to `False`.

Type: | Boolean
Default: | True
Required: | No
Configuration Section: | Server
Example: | `IncludeExpiredResults=False`
See Also: |

_FT_HTML5_bannerTitle.htm