[Zope-CMF] reindexObject problem

Yuppie schubbe@web.de
Fri, 07 Mar 2003 10:07:00 +0100


Hi!


Andreas Jung wrote:
>> This is a bug in the index.  Reindexing a document should fix up both
>> the "forward" indexes (from value to UID) and the "reverse" indexes
>> (from UID back to value).  Unindexing is *not* supposed to happen for
>> objects whose UID is still valid.
> 
> 
> In fact this behaviour has not been implemented by TextIndexNG. I had in 
> mind
> that a changed document would be unindexed first before it would be 
> reindexed
> by the catalog.

Are there any guidelines for index developers? Or a Interface? Maybe 
there should be a note how this is supposed to work.

> I fixed TextIndexNG to remove unused word ids from the forward/backward
> indexes so Yuppies testcase is now working. The changes are in the CVS
> and will be in the next release V 1.09 (coming up within the next days).

Thanks! That was quick :-)


Cheers,

Yuppie