[Zope-CMF] Re: reindexing optimizations
Chris Withers
chris at simplistix.co.uk
Thu Nov 24 02:44:30 EST 2005
Julien Anguenot wrote:
> Can you gimme a use case, within a test, where the interface we define
> in CPS would not be enough for you ? In our CPSTestCase we set all
> subscribers to 'async' and then all works as if no txn subscribers
> exists during the tests.
Ah, okay, yes, I guess this is one way to do it.
>>Also, how would you go about overriding this late-indexing behaviour if
>>you really wanted to for some specific objects?
>
> Define reindexObject() and reindexObjectSecurity() on the given content
> type for instance. But clearly, we could think about a more complex
> Transaction Manager that may deal with more complex use cases such as
> this one. We didn't express this need yet.
Yep.
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope-CMF
mailing list