I have some code (from Chris) which rebuilds a repoze.catalog instance.
It uses a very simple algorithm:
for each obj in root:
if object is folderish:
process al its children
unfortunately there is one problem with this code: any stale items in
catalog.document_map are not cleared, so there is still cruft remaining
after rebuilding the catalog. Can that be considered to be a bug?
Repoze-dev mailing list