-----Original Message----- From: Geir B Hansen [mailto:geirh@funcom.com] Sent: Thursday, October 21, 1999 11:04 AM To: zope@zope.org Subject: [Zope] Zcatalog and PrincipiaSearchSource with Zclasses ?
From what i gather, the PrincipiaSearchSource variable let you do a full text search in DTML-documents and methods...
The Catalog can full text search on any property. PrincipiaSearchSource is just a 'stock' method. You can use any method you want.
It seems, though, that this doesn't work with Zclass-instances..
Sure it does.
Is there any way to do a full text search of Zclass instances ??
Yep.
for example i'd like to be able to search among my 'newsdoc' instances, not only by title, author or content, but with a single form-field.. Is this possible ??
Sure, why not just impliment a DTML Method in your ZClass called PrincipiaSearchSource that returns what you want indexed? <dtml-return "title + author + body"> -Michel