ZCatalog query example without _usage
Can someone point me to an example of querying a ZCatalog index without using the deprecated term "_usage" ? In a current application, I am querying a catalog based on a date range and using something like {'date_usage' : "range:max"} in the dictionary I am passing to the query. I have searched Zope.org for things and have read the README.txt file in the PluginIndexes product but have failed to find an example. Any help is greatly appreciated. Kevin
The actual syntax is explained + examples in the Zope Book 2.6 edition, chapter "Searching...." -aj --On Donnerstag, 12. Februar 2004 12:29 Uhr -0500 Kevin Carlson <khcarlso@bellsouth.net> wrote:
Can someone point me to an example of querying a ZCatalog index without using the deprecated term "_usage" ? In a current application, I am querying a catalog based on a date range and using something like {'date_usage' : "range:max"} in the dictionary I am passing to the query. I have searched Zope.org for things and have read the README.txt file in the PluginIndexes product but have failed to find an example.
Any help is greatly appreciated.
Kevin
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andreas Jung -
Kevin Carlson