[Zope-Checkins] CVS: Zope/lib/python/SearchIndex - Index.py:1.30.6.1 TextIndex.py:1.31.6.1 UnIndex.py:1.31.6.1 UnTextIndex.py:1.53.6.1

Casey Duncan casey@zope.com
Fri, 9 May 2003 15:05:56 -0400


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

Modified Files:
      Tag: Zope-2_6-branch
	Index.py TextIndex.py UnIndex.py UnTextIndex.py 
Log Message:
Refactored interface check in ZCatalog indexes view so it is
no longer broken by the new Zope3 interface logic


=== Zope/lib/python/SearchIndex/Index.py 1.30 => 1.30.6.1 ===
--- Zope/lib/python/SearchIndex/Index.py:1.30	Wed Aug 14 17:46:23 2002
+++ Zope/lib/python/SearchIndex/Index.py	Fri May  9 15:05: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.31.6.1 ===
--- Zope/lib/python/SearchIndex/TextIndex.py:1.31	Wed Aug 14 17:46:23 2002
+++ Zope/lib/python/SearchIndex/TextIndex.py	Fri May  9 15:05: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.31 => 1.31.6.1 ===
--- Zope/lib/python/SearchIndex/UnIndex.py:1.31	Wed Aug 14 17:46:23 2002
+++ Zope/lib/python/SearchIndex/UnIndex.py	Fri May  9 15:05: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.53.6.1 ===
--- Zope/lib/python/SearchIndex/UnTextIndex.py:1.53	Wed Aug 14 17:46:23 2002
+++ Zope/lib/python/SearchIndex/UnTextIndex.py	Fri May  9 15:05: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'