Tim Cook <tim@freepm.org> writes:
Tim Moore wrote:
Tim Cook <tim@freepm.org> writes:
Tim Moore wrote:
I'm trying to query a ZCatalog for objects where a particular property (which I'm cataloging as a FieldIndex) is not empty. I can't figure out for the life of me what the syntax to do this is :-)
Been there, done that, found it in the mailing list archives. It should be a TextIndex.
OK, thanks but then what should the actual query contain? -- Tim Moore
Okay, I misunderstood the problem. Create a Z Search Interface and study the code generated to see how to query the catalog.
No, I understand the basic query syntax. What I'm trying to do is create query which returns all of the objects of type 'Timeslot' that have some non-null value for their 'archive_url' property. It's the second half of that query that I can't figure out... Catalog(meta_type='Timeslot', archive_url='???') I've tried archive_url='*', but that doesn't work. Is this even possible using ZCatalog? -- Tim Moore