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 assumptions about how you retrieve
> a document given a docid.  The DocumentMap implementation is provided to
> fit a common case, but is still up to the app to manage.

right. It would be nice if DocumentMap supported a clear() method though.

> Depending on what you're trying to do, though, a more satisfying
> algorithm might be to use the document_map to find previously indexed
> objects and reindex them.

We already have that as a separate reindex_catalog command :)

Wichert.
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to