[Zope] using ZCatalog to search multiple data containers

Martijn Pieters mj@antraciet.nl
Tue, 24 Aug 1999 09:39:42 +0200


At 05:51 24/08/99 , Jay, Dylan wrote:
>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?

ZCatalog indexes both attributes and the results of methods. You could 
design a ZClass that would return database results to index.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------