[Zope] Searching a Catalog in Zope 2.6.1b1
Dieter Maurer
dieter@handshake.de
Thu, 9 Jan 2003 23:17:59 +0100
Peter Bengtsson wrote at 2003-1-8 01:26 +0000:
> I have started testing my product in Zope 2.6.1b1 and notice an odd behaviour
>
> My code looks something like this:
>
> catalog = self.ICatalog # an instance of ZCatalog called ICatalog I have
>
> results1 = catalog()
> print results1 # returns 25 as expected
>
> results2 = catalog({'email':'peter'})
>
> # ...in Zope 2.5.0
> print len(results2) # returns 2 as expected
>
> # ...in Zope 2.6.1b1
> print len(results2) # returns 25, i.e. as if the 'email' index is ignored!!!
Are you sure, "email" is still an index?
It seems as it were no longer recognized as index.
Dieter