Re: [Zope-CMF] keywordIndex

2006-12-04 Thread Daniel de la Cuesta
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

Re: [Zope-CMF] keywordIndex

2006-12-04 Thread Andreas Jung
-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'

Re: [Zope-CMF] keywordIndex

2006-12-04 Thread Daniel de la Cuesta
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ó:

Re: [Zope-CMF] keywordIndex

2006-12-04 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 4. Dezember 2006 14:12:13 +0100 Daniel de la Cuesta [EMAIL PROTECTED] wrote: One more thing, How can I set OR association between differents indexes. For example: query= { 'Subject' : kw1, 'SearchableText': mytext}

[Zope-CMF] keywordIndex

2006-12-01 Thread Daniel de la Cuesta
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

Re: [Zope-CMF] keywordIndex

2006-12-01 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 1. Dezember 2006 13:59:00 +0100 Daniel de la Cuesta [EMAIL PROTECTED] 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