IncludeExpiredResults
Set IncludeExpiredResults
to False
if you want the Content component to check the expiration dates for documents at query time, and exclude any documents that have expired.
Content 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, Content 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, Content 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 Content 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: |