[Zope-Checkins] CVS: Zope/lib/python/SearchIndex - Index.py:1.31 TextIndex.py:1.32 UnIndex.py:1.33 UnTextIndex.py:1.54

Casey Duncan casey@zope.com
Fri, 9 May 2003 16:11:55 -0400


Update of /cvs-repository/Zope/lib/python/SearchIndex
In directory cvs.zope.org:/tmp/cvs-serv9700/lib/python/SearchIndex

Modified Files:
	Index.py TextIndex.py UnIndex.py UnTextIndex.py 
Log Message:
Port interface check fix from 2.6 branch. This should now work
with new Zope3 interfaces


=== Zope/lib/python/SearchIndex/Index.py 1.30 => 1.31 ===
--- Zope/lib/python/SearchIndex/Index.py:1.30	Wed Aug 14 17:46:23 2002
+++ Zope/lib/python/SearchIndex/Index.py	Fri May  9 16:11:55 2003
@@ -36,6 +36,8 @@
 
 class Index(Persistent):
     """Index object interface"""
+    
+    isDeprecatedIndex = 1
 
     def __init__(self, data=None, schema=None, id=None,
                  ignore_ex=None, call_methods=None):


=== Zope/lib/python/SearchIndex/TextIndex.py 1.31 => 1.32 ===
--- Zope/lib/python/SearchIndex/TextIndex.py:1.31	Wed Aug 14 17:46:23 2002
+++ Zope/lib/python/SearchIndex/TextIndex.py	Fri May  9 16:11:55 2003
@@ -146,6 +146,8 @@
 from ResultList import ResultList
 
 class TextIndex(Persistent):
+    
+    isDeprecatedIndex = 1
 
     def __init__(self, data=None, schema=None, id=None,
                  ignore_ex=None, call_methods=None):


=== Zope/lib/python/SearchIndex/UnIndex.py 1.32 => 1.33 ===
--- Zope/lib/python/SearchIndex/UnIndex.py:1.32	Tue Oct  1 10:09:47 2002
+++ Zope/lib/python/SearchIndex/UnIndex.py	Fri May  9 16:11:55 2003
@@ -36,6 +36,8 @@
     """UnIndex object interface"""
 
     meta_type = 'Field Index'
+    
+    isDeprecatedIndex = 1
 
     def __init__(self, id, ignore_ex=None, call_methods=None):
         """Create an unindex


=== Zope/lib/python/SearchIndex/UnTextIndex.py 1.53 => 1.54 ===
--- Zope/lib/python/SearchIndex/UnTextIndex.py:1.53	Wed Aug 14 17:46:23 2002
+++ Zope/lib/python/SearchIndex/UnTextIndex.py	Fri May  9 16:11:55 2003
@@ -64,6 +64,8 @@
 
     This isn't exactly how things are represented in memory, many
     optimizations happen along the way."""
+    
+    isDeprecatedIndex = 1
 
     meta_type = 'Text Index'