[Zope-dev] KeywordIndex errors

Wolfram Kerber wk@gallileus.de
Thu, 28 Nov 2002 01:48:18 +0100


This usually happens when there are duplicates in the indexed keywords and
the record isn't updated before unindexing. Shouldn't cause any problems,
though it isn't nice. This can be easily fixed by changing the KeywordIndex'
index_object method to make keywords unique before indexing.

----- Original Message -----
Sent: Wednesday, November 27, 2002 7:08 PM
Subject: [Zope-dev] KeywordIndex errors


> Hi, started seeing quite a few of these showing up in one of our server's
logs:
>
> ------
> 2002-11-27T16:16:26 ERROR(200) KeywordIndex unindex_object could not
remove
> documentId -869933785 from index companies.  This should not happen.
>
> exceptions.KeyError: -869933785
>
> This is Zope 2.6.0, hence the total lack of traceback :-(
>
> Anyone got any idea what's going on here?
>
> cheers,
>
> Chris