[Zope] Search in ZCatalog

Chris McDonough chrism@digicool.com
Thu, 29 Mar 2001 13:16:18 -0500


> 1) If I want to find NewsItem and search for News ZCatalog doesn't find
> it. I must explicitly find for NewsItem for Zope to find it.
> Is there any way to use wildcards?

I don't think I understand this question.  Sorry!

> 2) I don't know how to distinguish between AND and OR searches. If I
> introduce the search items in a list, Zope performs an OR search.

Yes, this is currently hardcoded.  :-(  There's no easy way to change it
without messing around with the ZCatalog source.  The workaround would be to
make multiple calls to searchResults and perform an intersection manually.