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

Andreas Jung andreas@andreas-jung.com
Sun, 17 Nov 2002 06:15:27 -0500


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

Modified Files:
      Tag: ajung-oneindex-multipleattributes-branch
	KeywordIndex.py 
Log Message:
added getIndexSourceNames()


=== Zope/lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py 1.11 => 1.11.30.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	Sun Nov 17 06:14:56 2002
@@ -92,6 +92,12 @@
             newKeywords = (newKeywords, )
         return newKeywords
 
+
+    def getIndexSourceNames(self):
+        """ return name of indexed attributes """
+        return (self.id, )
+
+
     def unindex_objectKeywords(self, documentId, keywords):
         """ carefully unindex the object with integer id 'documentId'"""