[Zope] TextIndexNG3 clears on restart?

Dan Pozmanter dan at siteworx.com
Thu Dec 8 16:25:16 EST 2005


Changing the storage from default to term_frequencies seems to fix the
problem.
_______________
 
Daniel Pozmanter
Siteworx, Inc.
 
"Festina Lente" - Gaius Julius

-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of
Dan Pozmanter
Sent: Thursday, December 08, 2005 4:20 PM
To: Andreas Jung; zope at zope.org
Subject: RE: [Zope] TextIndexNG3 clears on restart?

Ok, here are steps to reproduce:

Ingredients:
1 copy of TextIndexNG3, with appropriate files edited for non plone
usage.
1 copy of zope, sans plone, cmf.
run this on either freebsd or windows.

Steps:
1.  Add a Zcatalog.
2.  Add one ZCTextIndex (say, index on id or title).
3.  Add one TextIndexNG3 (index on title or id).  Be sure to turn on
stemming.
4.  Fill up the catalog using find objects.
5.  Verify the counts for each index.
6.  Restart Zope.
7.  Take a second gander at those counts.  One of them should now be
'0'.

_______________
 
Daniel Pozmanter
Siteworx, Inc.
 
"Festina Lente" - Gaius Julius

-----Original Message-----
From: Andreas Jung [mailto:lists at andreas-jung.com]
Sent: Thursday, December 08, 2005 3:43 PM
To: Dan Pozmanter; zope at zope.org
Subject: Re: [Zope] TextIndexNG3 clears on restart?



--On 8. Dezember 2005 15:40:10 -0500 Dan Pozmanter <dan at siteworx.com>
wrote:

> Is this a known issue?
> Any TextIndexNG3 indexes I create clear on restart, and do not 
> repopulate

Proof it.

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


More information about the Zope mailing list