RE: [Zope] custom searching by field
Zope's ZCatalog uses indexes with the names of the attributes or accessor methods that get your field values. If you have an index called 'manager' that is a FieldIndex, you can search that for an exact value, and nothing else will get searched. This, of course, assumes you write templates and scripts to query the catalog for the right index. Sean -----Original Message----- From: Michael Havard [mailto:nhavar@hotmail.com] Sent: Thursday, May 08, 2003 10:44 AM To: zope@zope.org Subject: [Zope] custom searching by field I have a document that I need to search for a specific field/value pairing. For example I want to find a record by manager: Carla Haskins but I don't want to return the other record with the same value in it. Comment: Carla Haskins helped me solve my problem. _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
sean.upton@uniontrib.com