14 Jan
2003
14 Jan
'03
12:08 p.m.
Peter Bengtsson wrote:
What kind of index is 'email'?
It's TextIndex.
(Should I maybe use the new ZCTextIndex now?)
If you want, it doesn't maek a differnce.
zcatalog = self.getCatalog() pluginindexes = zcatalog.Indexes.manage_addProduct['PluginIndexes'] pluginindexes.manage_addTextIndex('email')
This code doesn't look that great. Are you sure sure 'email' is being created? Why not just use this code? self.getCatalog().addIndex('email','TextIndex') cheers, Chris