[Zope] Advanced search in ZCatalog

Andy McKay andym@ActiveState.com
Mon, 13 Nov 2000 11:54:58 -0800


PrincipiaSearchSource is a method that returns the (for example) text of you
object. If you have a class that is being catalogued, as it catalogs it
calls each index (be it a method or a property). So you can fiddle with your
indexes by fiddling with your methods, such as PrincipiaSearchSource.
--

  Andy McKay, Developer.
  ActiveState.

----- Original Message -----
From: "Maik Röder" <roeder@berg.net>
To: <Menard.Jean-Francois@hydro.qc.ca>
Cc: <diask8@yahoo.com.br>; <zope@zope.org>
Sent: Monday, November 13, 2000 11:39 AM
Subject: Re: [Zope] Advanced search in ZCatalog


> Hi !
>
> Menard.Jean-Francois@hydro.qc.ca wrote:
> >
> > Usually, I use an external method returning a string containing the text
> > from all the fields I want to search on, and I index THAT field in the
> > Catalog.  It works great!
>
> Isn't that what PrincipiaSearchSource is used for ?
>
> BTW: I know that PrincipiaSearchSource can be an external method, but
> maybe someone knows whether it could also be a DTML Method ?
>
> Regards,
>
> Maik Röder
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>