One more thing,

How can I set OR association between differents indexes.

For example:

query= { 'Subject' : kw1,
               'SearchableText': "mytext"}

I would like to do an OR between 'Subject' and 'SearchableText'

Thank you!

El lun, 04-12-2006 a las 10:23 +0100, Andreas Jung escribió:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> 
> - --On 4. Dezember 2006 10:20:05 +0100 Daniel de la Cuesta 
> <[EMAIL PROTECTED]> wrote:
> 
> > You told me:
> >
> >>> Subject = {'query'  : (kw1,kw2), 'operator' : 'and'}
> >
> > That`s works fine. Thank you very much.
> >
> > Now  something more dificult, what about if 'kw1' and 'kw2' are list and
> > the
> > relation between the items of the list is OR??
> >
> > Do you understand me?
> > I have: (kw1.1 OR kw1.2 .OR ... kw1.n) AND (kw2.1 OR kw2.2 OR .. kw2.n)
> >
> 
> 
> Check out AdvancedQuery.
> 
> - -aj
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> 
> iD8DBQFFc+kZCJIWIbr9KYwRAs7pAJ9b0yYqzi8h4LyYTB+0HYdUy4/WbgCfT3vH
> M8yh4egoCRuc66C9UdYoiN4=
> =8UMn
> -----END PGP SIGNATURE-----
> 

Daniel de la Cuesta Navarrete
Técnico de Desarrollo 
FUNDACIÓN IAVANTE 
[EMAIL PROTECTED]
Tel. 951 015 300 

 

Este correo electrónico y, en su caso, cualquier fichero anexo, contiene
        información confidencial exclusivamente dirigida a su(s)
  destinatario(s). Toda copia o divulgación deberá ser autorizada por
                                IAVANTE.





    This e-mail and any attachments are confidential and exclusively
 directed to its adressee(s). Any copy or distribution will have to be
                         authorized by IAVANTE.






_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to