N
ConfigurationWhen Distributed Index Handler date-based indexing is enabled, you must create a [DateRangeN]
subsection in the [DistributionIDOLServers]
section for each IDOL server that indexes 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
Server 0 indexes documents dated from the 1st of January 1980 to the 31st of December 1989. If today is Tuesday (relative 0), server 1 gets documents dated from last Saturday (relative -3) and from this Saturday (relative 4).
The upper limit is exclusive.
|