[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py nomsg

Andreas Jung andreas at andreas-jung.com
Sun Feb 6 09:26:04 EST 2005


Log message for revision 29060:
  nomsg

Changed:
  U   Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py

-=-
Modified: Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py
===================================================================
--- Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py	2005-02-05 23:54:54 UTC (rev 29059)
+++ Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py	2005-02-06 14:26:04 UTC (rev 29060)
@@ -244,9 +244,12 @@
 
     def numObjects(self):
         """ return number of indexed objects """
+        return len(self._unindex)
+
+    def indexSize(self):
+        """ return of distinct values indexed"""
         return len(self)
 
-
     def unindex_object(self, documentId):
         """ Unindex the object with integer id 'documentId' and don't
         raise an exception if we fail



More information about the Zope-Checkins mailing list