Re: [Zope-dev] Reg. updating catalog indexes in bluebream

2011-06-23 Thread Joshua Immanuel
Hello all, Thanks for replying. On Thu, 2011-06-23 at 17:19 +0200, Charlie Clark wrote: > The indices do have to be updated every time you add, delete or modify > an object. This is one of the reasons for the event system you were > asking about the other week. As the size of sm['intids'] were

Re: [Zope-dev] Reg. updating catalog indexes in bluebream

2011-06-23 Thread Charlie Clark
Am 23.06.2011, 14:43 Uhr, schrieb Joshua Immanuel : > I guess that I don't have to manually update the indexes each time when > an object is added/modified. Am I missing something? The indices do have to be updated every time you add, delete or modify an object. This is one of the reasons for t

[Zope-dev] Reg. updating catalog indexes in bluebream

2011-06-23 Thread Joshua Immanuel
Hello all, I did the following while adding a new site sm = site.getSiteManager() intids = IntIds() sm['intids'] = intids sm.registerUtility(intids, IIntIds) cat = Catalog() sm['catalog'] = cat sm.registerUtility(cat, ICata