[Zope-dev] ZCatalog indexes tab - which Index Types are guilty?

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Thu, 17 Jul 2003 13:33:14 +0200


--On Donnerstag, 17. Juli 2003 12:29 Uhr +0100 Chris Withers 
<chrisw@nipltd.com> wrote:

>> The problem is caused by calling len() on the indexes btrees. Instead
>> a counter implemented btree.Length should be used in the future.
>
> Which Index types are currently guilty of this?

I think all except ZCTextIndex.
>
> How about re-naming the column to "Number of Documents Indexed" and
> making sure this is actually what the indexes return.

??

>
> I have a feeling that not all index types actually return the number of
> objects indexed. Can anyone confirm this?
>

TextIndex in an older version returned the number of indexed words but this
is fixed at least since 2.6.

-aj