[Zope-CMF] Re: reindexing optimizations

Florent Guillaume fg at nuxeo.com
Mon Nov 21 11:10:39 EST 2005


On 21 Nov 2005, at 16:00, Julien Anguenot wrote:
>>> yup you're right. We do define this already. All the subscribers  
>>> can run
>>> 'async' or 'sync' . Check the base interface for those subscribers
>>> there :
>>>
>>> http://svn.nuxeo.org/trac/pub/file/CPSCore/trunk/interfaces.py
>>> http://svn.nuxeo.org/trac/pub/file/CPSCore/trunk/BaseManager.py
>>
>> Not quite the semantics I had in mind, I meant more of a "flush"-type
>> method...
>>
>
> If you want a flush, following what I think I understood you  
> mean ;), we
> use the transaction.commit() in the tests when needed.

Actually for our Trees Tool, there's also a flushEvents() method.  
It's trivial to implement.

Florent


>
> If there's interest in having that on Zope then of course we could
> discuss and see what can be improved based on our .  If not, we are
> happy about this ourselves on CPS ;) It really enhances the  
> performances
> on large scaled projects. (especially the ones with several k  
> documents
> indexed...)

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com




More information about the Zope-CMF mailing list