[Zope-CMF] Re: CMF 1.5 does not use DateIndexes

Andreas Jung lists at andreas-jung.com
Thu Jan 20 15:16:45 EST 2005



--On Donnerstag, 20. Januar 2005 21:05 Uhr +0100 Yvo Schubbe 
<y.2005- at wcm-solutions.de> wrote:

> Andreas Jung wrote:
>> Is there reason why CMF still uses FieldIndexes for date fields?
>
> Yes. So far nobody contributed the necessary changes, tests and migration
> / backwards compatibility code.

I would not care about backward compatibility. If you create a new CMF site 
DateIndexes should be used.
If people have older side they can update their catalog manually (which is 
a 3 minute job). So changing
the index definitions in enumerateIndexes() should not interfer with 
existing site. From my own experience
index can just be recreated without any side effects making most users 
*very happy* (20 seconds -> some
milliiseconds for a query is a big win).

Andreas


More information about the Zope-CMF mailing list