[Zope-CMF] How to do globbing searches on the id index w/ ZCatalog

Braun Brelin bbrelin@openapp.biz
06 May 2003 19:01:12 +0100


Hello,

If I have objects who's id's are like foo.1 foo.2 foo.3, etc.  
How would I do a catalog search (in python) that will pick up foo.*?
this...

foo=context.portal_catalog(id='foo.*')

seems to fail completely, probahly because id is a field index, not a
text index.  

Any thoughts on how to do wildcard searches on ID's? 

Thanks,

Braun Brelin