Personal tools
You are here: Home Products DateRangeInRangeIndex

DateRangeInRangeIndex

You want to find all objects with some date range (two dates) - such as an event start and end - inside the date range of a query-start and query-end?

Current release
DateRangeInRangeIndex 1.0

Released Nov 13, 2007 — tested with Plone 2.5, Plone 3

Make it final. After adding another test and some time in production it looks bullet proof. Have fun.

More about this release…

Get DateRangeInRangeIndex for all platforms (7.4 kB)
Product Package

Experimental releases

Upcoming and alpha/beta/candidate releases

  • Alpha releases should only be used for testing and development.
  • Beta releases and Release Candidates are normally released for production testing, but should not be used on mission-critical sites.
  • Always install on a separate test server first, and make sure you have proper backups before installing.
DateRangeInRangeIndex 1.0rc (Release candidate) Released Aug 29, 2007
After adding a doctest and everything looks fine we're proud to release the release candidate for 1.0.
DateRangeInRangeIndex 1.0-beta1 (Beta release) Released Aug 03, 2007
Initial release for testing and collecting feedback.

Project Description

Example: You want all events within a date range of next two weeks, neither if the event has started one week ago nor ends one week later - or both?

Take this index. Its possibly the fastest way to solve the problem, it solves it as an index and works direct with the catalogs fast IISets. Its much faster than classical catalog-query post-processing.

IOW: The index acts as an proxy for a more complex query on two DateIndexes. It utilize the other indexes and does not store any index-data itself!

 

Installation

 Pure Zope 2 Product, works in Zope 2.9.x or 2.10.x (not tested with 2.8.x and eralier, but could work too).

 * Place all in your "Products" directory.

 * Add the index as usal (ZMI, code, profile, ...)
 

 

Copyright

 Author: Jens Klein <jens@bluedynamics.com>

 Copyright (C) 2007 BlueDynamics Alliance, Klein & Partner KEG, Innsbruck, Austria

 License: Zope Public License (ZPL)