I have encountered an unusual situation which I believe may be related to collector item #505 (http://www.zope.org/Collectors/Zope/505 - ZCTextUndex should not hold a reference to a lexicon).

Prior to performing a ZCatalog update I cleared the catalog (using the clear catalog option under the Advanced tab of the ZMI); then, to clear out the Lexicon, I deleted the Lexicon and created a new Lexicon (id of both was 'Lexicon').

I then added about 805,000 records to the ZCatalog (which went smoothly) and tested catalog searches - all went well, including globbing searches, 'and', 'and not' searches.

The previous Lexicon had 764,410 word entries. The current Lexicon has 0 word entries.

The ZCatalog and ZCTextIndex appear to be working ok, so I am guessing that somehow the ZCTextIndex is using a 'hidden/old' version of the Lexicon (not the newly created version) - which is very strange, as the .fs file was packed prior to the update (so any old versions should have been deleted).

This activity was all performed on a linux server running zope 2.6.1

Finally, the questions:

1) Can ZCTextIndex really be using the some other version of the Lexicon (which I can not access via the ZMI)? 2) Was Collector Item #505 ever fixed (I can not find a reference to issue #505 in any of the zope change logs)?



Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to