Re: [Zope] Advanced search in ZCatalog

2000-11-13 Thread Andy McKay

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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, November 13, 2000 11:39 AM
Subject: Re: [Zope] Advanced search in ZCatalog


> Hi !
>
> [EMAIL PROTECTED] 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  -  [EMAIL PROTECTED]
> 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 )
>


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Advanced search in ZCatalog

2000-11-13 Thread Maik Röder

Hi !

[EMAIL PROTECTED] 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  -  [EMAIL PROTECTED]
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 )




RE: [Zope] Advanced search in ZCatalog

2000-11-13 Thread Menard . Jean-Francois

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!

Jean-François Ménard
Intranet DPAS
Pratiques d'affaires et orientations
*(514) 840-3000  poste 3939
*  (514) 840-5585
*  [EMAIL PROTECTED]
* 855 Ste-Catherine est, 6e étage
  Montréal, Qué. H2L 4P5


-Message d'origine-
De : daniel dias [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 13 novembre 2000 12:51
À : ZopeList
Objet : [Zope] Advanced search in ZCatalog


Hi!
I´m trying to discover how to make a ZCatalog perform
queries on several "fields" (as in the property
sheets) of the cataloged objects, but with no sucess.
I´d like to execute queries using a "or" chain of
tokens, to be applied on several fields of the
cataloged objects, given that each field has a
priority in the search results.

Any ideas on how to implement this? I´ve tried several
approaches with absolutely no sucess, and I´m pretty
stuck, so any help will be welcome.

Thanks,

Daniel Dias



Do You Yahoo!?
Crie o seu e-mail grátis do Yahoo! Mail com 6 Megabytes livres!
http://mail.yahoo.com.br

___
Zope maillist  -  [EMAIL PROTECTED]
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 )

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Advanced search in ZCatalog

2000-11-13 Thread Andy McKay

http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching is probably your
best bet.

--
  Andy McKay, Developer.
  ActiveState.

- Original Message -
From: "daniel dias" <[EMAIL PROTECTED]>
To: "ZopeList" <[EMAIL PROTECTED]>
Sent: Monday, November 13, 2000 9:50 AM
Subject: [Zope] Advanced search in ZCatalog


> Hi!
> I´m trying to discover how to make a ZCatalog perform
> queries on several "fields" (as in the property
> sheets) of the cataloged objects, but with no sucess.
> I´d like to execute queries using a "or" chain of
> tokens, to be applied on several fields of the
> cataloged objects, given that each field has a
> priority in the search results.
>
> Any ideas on how to implement this? I´ve tried several
> approaches with absolutely no sucess, and I´m pretty
> stuck, so any help will be welcome.
>
> Thanks,
>
> Daniel Dias
>
>
> 
> Do You Yahoo!?
> Crie o seu e-mail grátis do Yahoo! Mail com 6 Megabytes livres!
> http://mail.yahoo.com.br
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> 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 )
>


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] Advanced search in ZCatalog

2000-11-13 Thread daniel dias

Hi!
I´m trying to discover how to make a ZCatalog perform
queries on several "fields" (as in the property
sheets) of the cataloged objects, but with no sucess.
I´d like to execute queries using a "or" chain of
tokens, to be applied on several fields of the
cataloged objects, given that each field has a
priority in the search results.

Any ideas on how to implement this? I´ve tried several
approaches with absolutely no sucess, and I´m pretty
stuck, so any help will be welcome.

Thanks,

Daniel Dias



Do You Yahoo!?
Crie o seu e-mail grátis do Yahoo! Mail com 6 Megabytes livres!
http://mail.yahoo.com.br

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] Advanced search in Zcatalog...

2000-11-13 Thread daniel dias

Hi!
I´m trying to discover how to make a ZCatalog perform
queries on several "fields" (as in the property
sheets) of the cataloged objects, but with no sucess.
I´d like to execute queries using a "or" chain of
tokens, to be applied on several fields of the
cataloged objects, given that each field has a
priority in the search results.

Any ideas on how to implement this? I´ve tried several
approaches with absolutely no sucess, and I´m pretty
stuck, so any help will be welcome.

Thanks,

Daniel Dias


Do You Yahoo!?
Crie o seu e-mail grátis do Yahoo! Mail com 6 Megabytes livres!
http://mail.yahoo.com.br

___
Zope maillist  -  [EMAIL PROTECTED]
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 )