I have some code (from Chris) which rebuilds a repoze.catalog instance.
It uses a very simple algorithm:
catalog.clear()
for each obj in root:
index object
if object is folderish:
process al its children
unfortunately there is one problem with this code: any stale
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/08/2010 10:04 AM, Tres Seaver wrote:
On 11/08/2010 09:07 AM, Wichert Akkerman wrote:
I have some code (from Chris) which rebuilds a repoze.catalog instance.
It uses a very simple algorithm:
catalog.clear()
for each obj in root:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/08/2010 10:10 AM, Wichert Akkerman wrote:
On 11/8/10 16:09 , Chris Rossi wrote:
The document_map, while sometimes stored on the catalog, is not known
to the catalog. If you want to clear it, you need to do so explicitly.
This is because
On Mon, Nov 8, 2010 at 10:10 AM, Wichert Akkerman wich...@wiggy.net wrote:
On 11/8/10 16:09 , Chris Rossi wrote:
The document_map, while sometimes stored on the catalog, is not known
to the catalog. If you want to clear it, you need to do so explicitly.
This is because r.catalog makes no