[Zope] product+catalog question
Alec Mitchell
apm13 at columbia.edu
Tue May 11 22:32:48 EDT 2004
On Tuesday 11 May 2004 01:03 pm, Henny van der Linde (zettai) wrote:
> Thanks, but I'm aware of the Zcatalog section in the Zope book. I got the
> ZCatalog perfectly working with my ZClasses.
> However I'm building the next generation of our Zope based cms entirely
> with external products, leaving ZClasses behind. Documention including the
> developpers guide isn't any helpfull regarding the Zcatalog in this
> respect.
>
> I have a product wich has a dictionary of dictionaries (items) for storing
> data, including text data. One of the items fields is tekst (text). Of
> course I can instruct the Zcatalog to catalog this product. But it won't
> find the 'tekst' object (or any other) in the object in while creating
> indexes.
Define an accessor method 'getTekst(self)' which returns the value you want,
then create an index/metadata-column for that function 'getTekst'.
Alec Mitchell
More information about the Zope
mailing list