Eric Brun wrote at 2004-2-26 17:59 +0100:
> ...
>When we do a search on a ZCatalog we have the message below. We work with Z=
>ope 2.6.2 and our Catalog have more than 200 000 objects referenced.
>
>We think our catalog is corrupted but we would correct it.
> ...
>Type d'erreur : KeyError =
>
>Valeur : 182975046 =

> ...
>Module Products.ZCatalog.Lazy, line 155, in __getitem__ =
>Module Products.ZCatalog.Catalog, line 149, in __getitem__ =
>KeyError: 182975046 =

This indicates an inconsitency between an index and
the set of catalogued objects.

When you have a good indication, which index contains the
inconsistency, you can just "reindex" this index.
This may be significantly faster then reindexing the complete
catalog. Moreover, conflict probability might be (slightly) smaller.

-- 
Dieter

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to