[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/KeywordIndex - KeywordIndex.py:1.11.42.1

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


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

Modified Files:
      Tag: casey-zcatalog-speedup-branch
	KeywordIndex.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/KeywordIndex/KeywordIndex.py 1.11 => 1.11.42.1 ===
--- Zope/lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py:1.11	Wed Aug 14 18:19:30 2002
+++ Zope/lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py	Thu Dec  5 16:07:15 2002
@@ -21,7 +21,8 @@
 
 class KeywordIndex(UnIndex):
 
-    __implements__ = (PluggableIndex.PluggableIndexInterface,)
+    __implements__ = (PluggableIndex.UniqueValueIndex,
+                      PluggableIndex.SortIndex)
 
     meta_type="KeywordIndex"