Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
added getIndexSourceNames()
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Jan 24, 2003
1 parent 3af08f2 commit 166e3bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ZCTextIndex.py
Expand Up @@ -215,6 +215,10 @@ def clear(self):

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__)
Expand Down

0 comments on commit 166e3bf

Please sign in to comment.