The ZCatalog doesn't return the actual object that is indexed. It
returns a representation of the object in the form of a "brain" which
you can use to reference the object.
This snippet iterates over all the results from a catalog and calls the
myMethod() method on every one of the objects referenced by the returned
results. "data_record_id_" is an attribute of the "brain" object
returned from the catalog search. "getobject" is a method of the
Catalog which returns the actual object referenced by the
> -----Original Message-----
> From: Jonathan Desp [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 20, 2000 3:02 PM
> To: zope zope zope
> Subject: [Zope] A Description with a Search Engine using the advanced
> ZCatalog program ?
> An accurate question here:
> I read the page:
> But I'm not able to understand very much, what is the section
> where they are
> talking about "a small description for every result" you are
> getting from
> the ZCatalog search engine ?
> My site is almost ready ! As well as my business plan for my
> Very truly yours,
> Jonathan Desp
> Matter will become software
> "I used to think that the brain was the most wonderful organ
> in my body.
> Then I realized who was telling me this."
> Zope maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -