19 Apr
2001
19 Apr
'01
9:12 a.m.
Chris McDonough wrote:
<dtml-in "Catalog(textindex='foo' AND fieldindex='bar' OR keywordindex=['flop'])">
Chris, how hard would it be to expose ZCatalog's set lazy union and intersection operators? IIRC, ZCatalog does a lot of this internally so it shouldn't be that hard to do? (right?! ;-) If you could expose it, then you could construct the above query as: <dtml-in "Catalog.OR(Catalog.AND(Catalog(textindex='foo'),Catalog(fieldindex='bar')),Catalog(keywordindex=['flop']))"> Could this be done easily? cheers, Chris