-----Original Message----- From: Jay, Dylan [mailto:djay@lucent.com] Sent: Monday, August 23, 1999 11:52 PM To: 'zope@zope.org' Subject: [Zope] using ZCatalog to search multiple data containers
Something that has been bothering me with this whole ZCatalog thing is how do I search things other than the Zope ODB. More importantly how do I combine a search that works with the ZCatalog with things from databases. Lets say I have a database driven FAQ. How do I put a single search field on a site that finds normal DTML documents as well as parts of the FAQ?
This can be done, but it hasn't been done, so the kinks have not been worked out. Basicly, anything in Zope that can be mapped to a URL can be cataloged, so if your ZSQL queries map to URLs then they can be used. You would probably find using plugable brains handy here, as the brain you write can use the CatalogAware class to make your brains catalog themselves. Even better, in Zope 2.1, you will be able to select a ZClass for a plugable brain for both ZSQL methods and Catalogs. This would make a great howto, if you whip up an example. If not, I might have some time in the future to work on it, if i get some resources allocated to it. -Michel
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )