19 Mar
2005
19 Mar
'05
6:42 p.m.
Vital Lobachevsky wrote at 2005-3-18 20:09 +0200:
... I'm trying to query a Keyword Index using record attributes. The expression
ZCatalog(myindex={'query':['foo','bar'], 'operator':'and'})
should return objects that have both "foo" AND "bar". In my case, no objects with "bar", but with "foo" a lot. The expr above returns ALL objects with "foo". Is it expected behavior?
A really long standing bug... You might use a "Managable KeywordIndex" as a replacement for the broken stock Zope KeywordIndex. <http://www.dieter.handshake.de/pyprojects/zope> -- Dieter