<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
You told me:<BR>
<BR>
&gt;&gt;Subject = {'query'&nbsp; : (kw1,kw2), 'operator' : 'and'}<BR>
<BR>
That`s works fine. Thank you very much.<BR>
<BR>
Now&nbsp; something more dificult, what about if 'kw1' and 'kw2' are list and the<BR>
relation between the items of the list is OR??<BR>
<BR>
Do you understand me?<BR>
I have: (kw1.1 OR kw1.2 .OR ... kw1.n) AND (kw2.1 OR kw2.2 OR .. kw2.n)<BR>
<BR>
Thank you!!<BR>
<BR>
<BR>
<BR>
<BR>
El vie, 01-12-2006 a las 14:05 +0100, Andreas Jung escribi&#243;:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">-----BEGIN PGP SIGNED MESSAGE-----</FONT>
<FONT COLOR="#000000">Hash: SHA1</FONT>



<FONT COLOR="#000000">- --On 1. Dezember 2006 13:59:00 +0100 Daniel de la Cuesta </FONT>
<FONT COLOR="#000000">&lt;<A HREF="mailto:daniel.cuesta@iavante.es">daniel.cuesta@iavante.es</A>&gt; wrote:</FONT>

<FONT COLOR="#000000">&gt; Hello,</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; I want to ask you about indexes and searches:</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; I am using CPS over CMF and I am working with a  &quot;KeywordIndex&quot; that</FONT>
<FONT COLOR="#000000">&gt; index a vocabulary.</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; The user can introduce a list of items to the KeywordIndex. For</FONT>
<FONT COLOR="#000000">&gt; example:</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; Subject is a keywordIndex and I can do 'Subject' = ['sports,</FONT>
<FONT COLOR="#000000">&gt; 'arts', ...].</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; It seems that the keywordIndex default beheaviour is to do and OR of the</FONT>
<FONT COLOR="#000000">&gt; items.</FONT>
<FONT COLOR="#000000">&gt;</FONT>


<FONT COLOR="#000000">Subject = {'query'  : (kw1,kw2), 'operator' : 'and'}</FONT>

<FONT COLOR="#000000">- -aj</FONT>
<FONT COLOR="#000000">-----BEGIN PGP SIGNATURE-----</FONT>
<FONT COLOR="#000000">Version: GnuPG v1.4.5 (Darwin)</FONT>

<FONT COLOR="#000000">iD8DBQFFcCiSCJIWIbr9KYwRAgcVAJ9xNzE16kgBA9OxocZeZSIFs8L0WgCfTR0o</FONT>
<FONT COLOR="#000000">x138NJewhHqe8IECreg5I5c=</FONT>
<FONT COLOR="#000000">=+AEx</FONT>
<FONT COLOR="#000000">-----END PGP SIGNATURE-----</FONT>

</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<B><FONT COLOR="#c0c0c0">Daniel de la Cuesta Navarrete</FONT></B><BR>
<B><FONT COLOR="#bebebe">T&#233;cnico de Desarrollo</FONT></B><FONT COLOR="#000000">&nbsp;</FONT><BR>
<FONT SIZE="4"><FONT COLOR="#339966">FUNDACI&#211;N IAVANTE</FONT></FONT><FONT COLOR="#000000"> </FONT><BR>
<FONT COLOR="#339966"><A HREF="mailto:alberto.porras@iavante.es">daniel.cuesta@iavante.es</A></FONT><BR>
<FONT COLOR="#339966">Tel. 951 015 300</FONT> <BR>
<BR>
&nbsp;<BR>
<BR>
<DIV ALIGN=center><FONT SIZE="1"><FONT COLOR="#999999">Este correo electr&#243;nico y, en su caso, cualquier fichero anexo, contiene informaci&#243;n confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgaci&#243;n deber&#225; ser autorizada por IAVANTE.</FONT></FONT></DIV>
<BR>
<DIV ALIGN=center></DIV><BR>
<BR>
<BR>
<BR>
<DIV ALIGN=center><FONT SIZE="1"><FONT COLOR="#999999">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.</FONT></FONT></DIV>
<BR>
<DIV ALIGN=center></DIV><BR>
<BR>
<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>