[Zope] ZCatalog keyword search unexpected results with
operator=and
Dieter Maurer
dieter at handshake.de
Thu May 27 13:50:27 EDT 2004
Alex wrote at 2004-5-26 19:44 -0700:
> ...
>In a Python script I have :
>
>results=context.catalog(categories={'query':['big','shiny'],
>'operator':'and'})
> ...
>But if some objects are big, and there are no objects that are shiny, then I
>get all objects that are big - I expected to get no results.
>
>Is this by design or am I doing something wrong ?
A long standing bug in "KeywordIndex"es...
Maybe, you replace them by "ManagableIndex"es
<http://www.dieter.handshake.de/pyprojects/zope>
--
Dieter
More information about the Zope
mailing list