[Zope-dev] ZCatalog Indexes tab crawls...

Casey Duncan casey@zope.com
Fri, 18 Jul 2003 15:38:51 -0400


On Friday 18 July 2003 01:29 pm, Dieter Maurer wrote:
> Anthony Baxter wrote at 2003-7-18 15:14 +1000:
>  >=20
>  > >>> Andreas Jung wrote
>  > > I agree but the current implementation sux. Switching to a counter=
=20
based
>  > > solution would solve the problem. The only problem I see is to kee=
p the
>  > > code fully backward compatible.
>  >=20
>  > if there's no counter present:
>  >    create one, do a count of the docs, initialise the counter
>=20
> We can use the size of the "_unindex".
>=20
>=20
> However, is it really worth it?
>=20
> "#objects" suggests that it is the number of objects indexed by
> this index. Who is interested in this information?
>=20
> Unless one has inhomogeous objects, almost all objects are indexed
> by every index. Thus, "#objects" is likely to be similar for
> many indexes.
>=20
> A much more interesting information would be the size of the index meas=
ured
> by the number of index terms.

I agree. and as a plus, its a minor change to the software...

-Casey