Rv: Re: [Zope] why a xcatalog keywordindex is mandatory?
Dieter Maurer
dieter at handshake.de
Sun Dec 7 12:40:25 EST 2003
Yurj wrote at 2003-12-7 11:21 -0100:
> ...
>> What you see here, is a bug in the "AND" implementation
>> of "KeywordIndex". An empty list together with the
>"AND"
>> operator should be interpreted as "no restriction".
>> Due to the bug, it is considered as "no results".
>> You can use my "ManagableIndex". It comes with a
>"KeywordIndex"
>> that is correct in this respect.
>
>Thanks! It happens also with OR.
I know.
The difference: it is correct to return no results for
an empty "or" search while an empty "and" search must return all objects..
>If I use a record with operator: 'and', it
>acts as or. Don't know why... :)
I do not either. But, there are several problem reports for
KeywordIndexes in the mailing lists. Maybe, you search for them...
--
Dieter
More information about the Zope
mailing list