DateRange<N> sections
 

When DIH date-based indexing is enabled, you need to create a [DateRange<N>] subsection in the [DistributionIDOL Servers] section for each IDOL engine that will index documents whose date field falls within a specified date range.

For example:

[DistributionIDOLServers]
Number=2

[IDOLServer0]
Host=localhost
Port=9000

[IDOLServer1]
Host=1.23.45.6
Port=9000

[DateRange0]
FromDate=1980/01/01
UptoDate=1990/01/01
Engines=0

[DateRange1]
FromRelative=-3
UptoRelative=5
Engines=1

Engine 0 will index documents dated from the 1st of January 1980 to the 31st of December 1989. If today is Tuesday (relative 0), engine 1 will get documents dated from last Saturday (relative -3) and from this Saturday(relative 4). Note that the upper limit is exclusive.