[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex - TextIndex.py:1.27
Andreas Jung
andreas@digicool.com
Mon, 1 Apr 2002 15:30:41 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex
In directory cvs.zope.org:/tmp/cvs-serv17143/lib/python/Products/PluginIndexes/TextIndex
Modified Files:
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.26 => 1.27 ===
"""
-
__version__ = '$Revision$'[11:-2]
@@ -160,7 +159,7 @@
"""Reinitialize the text index."""
self._index = IOBTree()
self._unindex = IOBTree()
- if self.getLexicon():
+ if self.getLexicon() and self.vocabulary_id=='__userdefined__':
self.getLexicon().clear()
self._lexicon = None