Commit ac4a8b6a authored by Andreas Jung's avatar Andreas Jung

updated interface

parent 8c89b6d0
......@@ -228,9 +228,25 @@ class IZCatalog(Interface):
queries (even across catalogs) and merge and sort the combined results.
"""
def refreshCatalog():
def refreshCatalog(clear=0, REQUEST=None, pghandler=None):
"""Reindex every object we can find, removing the unreachable
ones from the index.
clear -- values: 1|0 clear the catalog before reindexing
REQUEST -- optional REQUEST object
pghandler -- optional Progresshandler as defined in ProgressHandler.py
(see also README.txt)
"""
def reindexIndex(name, pghandler=None):
"""Reindex a single index.
name -- id of index
pghandler -- optional Progresshandler as defined in ProgressHandler.py
(see also README.txt)
"""
__doc__ = IZCatalog.__doc__ + __doc__
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