[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/PathIndex - PathIndex.py:1.10.6.1
Andreas Jung
andreas@zope.com
Mon, 15 Oct 2001 16:09:32 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/PathIndex
In directory cvs.zope.org:/tmp/cvs-serv8358/PathIndex
Modified Files:
Tag: ajung-topicindex
PathIndex.py
Log Message:
removed bug in inverse index
=== Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py 1.10 => 1.10.6.1 ===
if level > self._depth: self._depth = level
- # reverse index
- if not self._unindex.has_key(id):
- self._unindex[id] = OOSet()
- self._unindex[id].insert( (comp,level) )
def index_object(self, documentId, obj ,threshold=100):