[Zope-CMF] keywordIndex
Daniel de la Cuesta
daniel.cuesta at iavante.es
Mon Dec 4 04:20:05 EST 2006
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)
Thank you!!
El vie, 01-12-2006 a las 14:05 +0100, Andreas Jung escribió:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> - --On 1. Dezember 2006 13:59:00 +0100 Daniel de la Cuesta
> <daniel.cuesta at iavante.es> wrote:
>
> > Hello,
> >
> > I want to ask you about indexes and searches:
> >
> > I am using CPS over CMF and I am working with a "KeywordIndex" that
> > index a vocabulary.
> >
> > The user can introduce a list of items to the KeywordIndex. For
> > example:
> >
> > Subject is a keywordIndex and I can do 'Subject' = ['sports,
> > 'arts', ...].
> >
> > It seems that the keywordIndex default beheaviour is to do and OR of the
> > items.
> >
>
>
> Subject = {'query' : (kw1,kw2), 'operator' : 'and'}
>
> - -aj
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFFcCiSCJIWIbr9KYwRAgcVAJ9xNzE16kgBA9OxocZeZSIFs8L0WgCfTR0o
> x138NJewhHqe8IECreg5I5c=
> =+AEx
> -----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/38cb3faa/attachment.htm
More information about the Zope-CMF
mailing list