[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex - TextIndex.py:1.25.4.2
Andreas Jung
andreas@digicool.com
Mon, 1 Apr 2002 15:29:28 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex
In directory cvs.zope.org:/tmp/cvs-serv16818/lib/python/Products/PluginIndexes/TextIndex
Modified Files:
Tag: Zope-2_5-branch
TextIndex.py
Log Message:
- Collector #325: adding a new TextIndex to an existing Catalog
cleared the standard Vocabulary.
=== Zope/lib/python/Products/PluginIndexes/TextIndex/TextIndex.py 1.25.4.1 => 1.25.4.2 ===
self._index = IOBTree()
self._unindex = IOBTree()
- if self.getLexicon():
+ if self.getLexicon() and self.vocabulary_id=='__userdefined__':
self.getLexicon().clear()
self._lexicon = None