[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/FieldIndex - FieldIndex.py:1.10.42.1
Casey Duncan
casey@zope.com
Thu, 5 Dec 2002 16:07:46 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/FieldIndex
In directory cvs.zope.org:/tmp/cvs-serv29848/FieldIndex
Modified Files:
Tag: casey-zcatalog-speedup-branch
FieldIndex.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/FieldIndex/FieldIndex.py 1.10 => 1.10.42.1 ===
--- Zope/lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py:1.10 Wed Aug 14 18:19:29 2002
+++ Zope/lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py Thu Dec 5 16:07:15 2002
@@ -24,7 +24,8 @@
class FieldIndex(UnIndex):
"""Field Indexes"""
- __implements__ = (PluggableIndex.PluggableIndexInterface,)
+ __implements__ = (PluggableIndex.UniqueValueIndex,
+ PluggableIndex.SortIndex)
meta_type="FieldIndex"