[Zope] ZCatalog: How to use a subattribute as index?

Michel Pelletier michel@digicool.com
Mon, 24 Jan 2000 10:23:12 -0500


> -----Original Message-----
> From: Hung Jung Lu [mailto:hungjunglu@hotmail.com]
> Sent: Friday, January 21, 2000 7:53 PM
> To: michel@digicool.com; zope@zope.org
> Subject: RE: [Zope] ZCatalog: How to use a subattribute as index?
> 
> 
> >From: Michel Pelletier <michel@digicool.com>
> >Programatically.  The 'Find' machinery will not find the 
> sub-sub-attr if
> >the sub-attr is not traversable.
> >
> >Create an index called 'raw'.
> >
> ><dtml-with "mySQLMethod">
> >   <dtml-call "Catalog.index_object(template, absolute_url())">
> ></dtml-with>
> >
> >or something like that...
> 
> Where can I find out more about the index_object?

In the ZCatalog documentation that I'm not done writing yet.
 
> Is your "Catalog" a default attribute of all ZObjects,
> or is your "Catalog" the instance of ZCatalog?

An instance of a ZCatalog.

-Michel