[Zope] Zcatalog search

2000-11-17 Thread Brown Fox
Hello, i've indexed some dtml-documents with some metadata, for example a CPU field. I can search for a CPU or any other metadata, but how i can have the list of all the objects with a CPU property? Thanks, Bruno __ Do You

Re: [Zope] ZCatalog Search Q

2000-06-30 Thread Chris Withers
Leonard Chan wrote: > > This is supposedly a 'bad' thing to do but there's nothing better right now... > > Why is this a 'bad' thing? 'Cause it requires loading the whole object? Nope, 'cos it doesn't work with anything that plays with traversal, like SiteAccess. Something better should be comi

Re: [Zope] ZCatalog Search Q

2000-06-30 Thread Chris Withers
Leonard Chan wrote: > I'd like to include some attributes from the actual objects > (maybe by accessing the actual object via id, etc?) in the > result list. You can get the actual object with: Catalog.getobject(data_record_id_) inside your dtml-in loop. This is supposedly a 'bad' thing to do b

[Zope] ZCatalog Search Q

2000-06-30 Thread Leonard Chan
Hi, I'm trying to search a catalog and return a list of hits, and here is a code fragment: "> This works ok, however, I understand that the catalog search does not actually return object references to the actual objects catalogued. I'd like to include some attributes from the actu