[Zope] Re: ZCatalog indexing help request

Maik Jablonski maik.jablonski@uni-bielefeld.de
Mon, 16 Dec 2002 23:18:03 +0100


Kamal Gill wrote:
> I need to know how to control what objects are indexed by ZCatalog based 
> on a custom property I have added to files and folders I do not want 
> indexed by ZCatalog.  I have added a boolean property named 'noindex' 
> and have set its value as TRUE for files and folders I do not want 
> indexed by ZCatalog.
> 
> Now, what I need to know is what to enter in the expr: 
> |________________________| textarea form field of the find objects tab 
> of my ZCatalog object in order to index all page templates *except* 
> those that contain a 'noindex' property set to TRUE.

please try:

not this().getProperty('noindex')

-mj