[Zope] searching keywords with AND

marc lindahl marc@bowery.com
Sat, 19 May 2001 16:36:57 -0400


This construct seems to work:

  <dtml-in "portal_catalog.searchResults( {'meta_type' : 'News Item'
                                          ,'Subject': 's1'
                                          ,'Subject': 's2''
                                          ,'Subject': 's3'
                                          ,'Subject': 's4'}
                                        , sort_on='Date'
                                        , sort_order='reverse'
                                        , review_state='published'
                                        )" size="10">


seems to return something that has Subject keywords s1 AND s2 AND s3 AND s4
(and in this example, meta_type=='News Item') -- unless I'm not testing it
correctly!

Feedback?