Kevin Dangoor writes:
I know, of cause, that a DMTL method could do this job. However, a general method "manage_catalogRefind" might be generally useful. It would remember the parameters for the last find operation and reapply the find.
I like the other solutions that exist/are coming into existence/are proposed. They are:
1) CatalogAwareness for ZClasses ....
2) ZPatterns 0.4 (http://www.zope.org/Members/pje/Wikis/ZPatterns/HomePage): ....
3) ObserverAndNotification Interface (http://www.zope.org/Members/michel/Projects/Interfaces/ObserverAndNotificat ion): ....
I like all of these solutions, because they are automatic. Having a catalogRefind implies that someone needs to actively do something to make the catalog get updated...
I am especially interested in a solution for standard Zope objects (which make most of our Zope site that should be made searchable). I hope, I can automate "catalogRefind", too. At least under Unix, the CRON demon can start programs at fixed times. Such a program would execute the "catalogRefind" either with a ZClient or directly with Python's HTTPlib. Dieter