<!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>
One more thing,<BR>
<BR>
How can I set OR association between differents indexes.<BR>
<BR>
For example:<BR>
<BR>
query= { 'Subject' : kw1,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'SearchableText': &quot;mytext&quot;}<BR>
<BR>
I would like to do an OR between 'Subject' and 'SearchableText'<BR>
<BR>
Thank you!<BR>
<BR>
El lun, 04-12-2006 a las 10:23 +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 4. Dezember 2006 10:20:05 +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; You told me:</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;&gt;&gt; Subject = {'query'  : (kw1,kw2), 'operator' : 'and'}</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; That`s works fine. Thank you very much.</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; Now  something more dificult, what about if 'kw1' and 'kw2' are list and</FONT>
<FONT COLOR="#000000">&gt; the</FONT>
<FONT COLOR="#000000">&gt; relation between the items of the list is OR??</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; Do you understand me?</FONT>
<FONT COLOR="#000000">&gt; I have: (kw1.1 OR kw1.2 .OR ... kw1.n) AND (kw2.1 OR kw2.2 OR .. kw2.n)</FONT>
<FONT COLOR="#000000">&gt;</FONT>


<FONT COLOR="#000000">Check out AdvancedQuery.</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">iD8DBQFFc+kZCJIWIbr9KYwRAs7pAJ9b0yYqzi8h4LyYTB+0HYdUy4/WbgCfT3vH</FONT>
<FONT COLOR="#000000">M8yh4egoCRuc66C9UdYoiN4=</FONT>
<FONT COLOR="#000000">=8UMn</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>