UpToRelative

The upper relative date limit (exclusive) for this date range. This parameter applies only when you set DistributeByDate to True.

NOTE: You must set only one of UpToDate and UpToRelative for a particular [DateRangeN] configuration. If you do not set either value for a particular date range, DIH treats the upper end of the range as open-ended.

Specify the relative number of days as a positive or negative integer. For example, today is 0, yesterday is -1, and tomorrow is 1. This option sets a date range relative to the current date.

DIH indexes documents with dates in this range into the child servers that you specify in the Engines parameter for this configuration section.

Type: Signed Integer
Default:  
Required: No
Configuration Section: DateRangeN
Example: UpToRelative=-1
Sets upper relative date limit as day before yesterday.

UpToRelative=1
Sets upper relative date limit as today.
See Also: Engines
FromRelative