[Zope] Reindex_object problem

Chris Muldrow muldrow@mac.com
Fri, 30 Mar 2001 11:50:02 -0500


I actually tried the newob.reindex_object(), too, with no luck.

It's automatically indexing the object when I first instantiate it--I can
search my catalog and see the object. Do you think I still need to do the
index_object() again?


> From: "Chris McDonough" <chrism@digicool.com>
> Date: Fri, 30 Mar 2001 11:48:56 -0500
> To: "Chris Muldrow" <muldrow@mac.com>, <zope@zope.org>
> Subject: Re: [Zope] Reindex_object problem
> 
> I suspect first of all since it's a new object, you need to index the object
> first before you reindex it.
> 
> So this would be:
> 
> newob.index_object()
> 
> Then on subsequent calls, you'll want to do:
> 
> newob.reindex_object()
> 
> The CatalogAware API is broken, IMHO.  It should always just be
> "index_object" and "reindex_object" should not exist.
> 
> 
> ----- Original Message -----
> From: "Chris Muldrow" <muldrow@mac.com>
> To: <zope@zope.org>
> Sent: Friday, March 30, 2001 10:55 AM
> Subject: [Zope] Reindex_object problem
> 
>