Can anyone provide advice for iterating a search through all indexes in a catalog.  E.g., determining whether 'foo' appears in any field of any of the indexed items.
The python method reproduced below does the job, but it seems rather cumbersome.  Is there a better way to do it in DTML?

list = [index1, index2, ... ]
return  self.Catalog({list[0] : search_item})
for item in list[0:]:
   for result in self.Catalog({ item : search_item}):
        if not result in results: results.append(result)
return results

Reply via email to