[Zope-CMF] catalog and Subject metadata

Chris Withers chrisw@nipltd.com
Tue, 22 May 2001 15:35:07 +0100


Tres Seaver wrote:
> 
> > subject is spam, which isn't really expected behaviour.
> 
> The catalog doesn't make "or" searches really feasible at the moment.

Is this on the way at all? It would be mighty handy for a lot of things and
would remove the need to use the common pattern (hack?) below:

> A workaround would be to add a new index, say 'BetterSearchableText'
> to the catalog, and then write a Python Script (in the 'custom' skin,
> or in the portal root) which computes it as:
> 
>    return context.SearchableText() + _.string.join( context.Subject() )

cheers,

Chris