[Zope-CMF] keywordIndex

Daniel de la Cuesta daniel.cuesta at iavante.es
Mon Dec 4 08:12:13 EST 2006


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 
> <daniel.cuesta at iavante.es> 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 
daniel.cuesta at iavante.es
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.






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-cmf/attachments/20061204/df1994e9/attachment.htm


More information about the Zope-CMF mailing list