Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
df127f9e
Commit
df127f9e
authored
Feb 29, 2008
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added PluggableIndexes/interfaces/IIndexConfiguration (on request
by the GenericSetup community)
parent
0113d5d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/Products/PluginIndexes/interfaces.py
lib/python/Products/PluginIndexes/interfaces.py
+14
-0
No files found.
doc/CHANGES.txt
View file @
df127f9e
...
...
@@ -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.
...
...
lib/python/Products/PluginIndexes/interfaces.py
View file @
df127f9e
...
...
@@ -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.
"""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment