Commit df127f9e authored by Andreas Jung's avatar Andreas Jung

- added PluggableIndexes/interfaces/IIndexConfiguration (on request

by the GenericSetup community)
parent 0113d5d0
......@@ -465,6 +465,9 @@ Zope Changes
Features added
- added PluggableIndexes/interfaces/IIndexConfiguration (on request
by the GenericSetup community)
- Included Zope 3.3 and corresponding Five 1.5 release.
- There is now a default favicon.ico.
......
......@@ -227,3 +227,17 @@ class ITopicIndex(Interface):
def clearFilteredSet(filter_id):
"""Clear the FilteredSet object specified by 'filter_id'.
"""
# IIndexConfiguration was added on request by the GenericSetup community in
# order to perform introspection on indexes in a defined way.
# (ajung)
class IIndexConfiguration(Interface):
""" Introspection API for pluggable indexes """
def getSettings(self):
""" Returns an mapping with index specific settings.
E.g. {'indexed_attrs' : ('SearchableText', )}.
The interface does not define any specifc mapping keys.
"""
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