Commit da4af40a authored by Andreas Jung's avatar Andreas Jung

added getIndexSourceNames()

parent 178d414c
......@@ -215,6 +215,10 @@ class ZCTextIndex(Persistent, Acquisition.Implicit, SimpleItem):
manage_main = DTMLFile('dtml/manageZCTextIndex', globals())
def getIndexSourceNames(self):
""" return name of indexed attributes """
return (self.id, )
def getIndexType(self):
"""Return index type string"""
return getattr(self, '_index_type', self._index_factory.__name__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment