[Zope-CMF] reindexObject problem

Andreas Jung andreas@andreas-jung.com
Thu, 06 Mar 2003 22:12:18 +0100


--On Donnerstag, 6. M=E4rz 2003 20:43 +0100 Yuppie <schubbe@web.de> wrote:

> Hi Andreas!
>
>
> Andreas Jung wrote:
>> TextIndexNG removes all words from a document that is unindex_index()ed.
>
> What do you exactly mean by 'unindex_index()'? Is that what ZCatalog
> calls when catalog_object() is called?
>
>> There was just the minor problem that a word with an empty document id
>> list remained in the forward index forever. This is now fixed.
>
> Well. I updated TextIndexNG and got still this behavior:
>
>
> 1) After adding a new document with text: "one two three",
>     manage_objectInformation tells me: 3 distinct words in index.
>
> 2) After changing the document to text: "three four five",
>     manage_objectInformation tells me: 5 distinct words in index.
>     Search for "one" returns still the document as result.
>
> (Zope 2.6.1, CMF 1.3, TextIndexNG 1.0.8, Win98SE,
>   same problem with TextIndexNG 1.0.5 and Linux)
>
>
The fix is in on the CVS and unreleased yet. I will check your example
by tomorrow.

-aj