Sliding Timeline Index |
|
A sliding timeline is a powerful variation of a primary timeline index. It allows the timeline to be based upon the current date and time. As time moves forward, the limits of the timeline are automatically adjusted, and items falling outside the new timeline are removed from the data-store and associated indexes. This form of primary index can be very useful in organizing such things as daily publications, current news-wire articles, or upcoming events and movies.
A sliding timeline does not support any special handling of values falling outside of the range. Therefore any item that does not fall within the timeline's bounds is discarded. This provides an automatic mechanism for discarding obsolete data --a very powerful feature.
A sliding timeline must be defined as a primary index for the package or packages it covers.
Sliding timeline indexes are defined by the following properties:
Property |
Description |
Name assigned to the index. | |
Unique id assigned to the index. | |
Determines what part of the data an index is to be created over. | |
A date-time literal or date-time expression that evaluates to a date and time, and varies through time. | |
The time span mapped by each slot. | |
The number of slots in the timeline. | |
Applied to results returned using this index. |