[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex - TopicIndex.py:1.10.8.1

Casey Duncan casey@zope.com
Thu, 5 Dec 2002 16:07:16 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex
In directory cvs.zope.org:/tmp/cvs-serv29848/TopicIndex

Modified Files:
      Tag: casey-zcatalog-speedup-branch
	TopicIndex.py 
Log Message:
Cleaned up PlugInIndex interfaces to bring them closer to reality
Added SortIndex and UniqueValueIndex interfaces, assigned them to the proper indexes
Added documentToKeyMap method to UnIndex base class. This is now used in the optimized ZCatalog sort code instead of keyForDocument


=== Zope/lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py 1.10 => 1.10.8.1 ===
--- Zope/lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py:1.10	Thu Nov 28 11:32:02 2002
+++ Zope/lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py	Thu Dec  5 16:07:16 2002
@@ -94,7 +94,8 @@
         return n
 
 
-    numObjects = "does not apply"
+    def numObjects(self):
+        return "N/A"
 
 
     def keys(self):   pass