[Zope] ZCatalog

Chris McDonough chrism@digicool.com
Mon, 12 Mar 2001 01:28:23 -0500


You can't... this is a feature ;-)

If you want to match against, say, the first two letters of an attribute,
make a new field index in the catalog against a method on your object that
returns the first two letters of the attribute.

TextIndexes match partially, so if you wanted, you could use a text index
against the attribute and query with "ab*" to match "absolute", "aberrance",
etc.  But text indexes have other behaviors that aren't desirable in some
cases (like splitter behavior dropping words like "C++").

----- Original Message -----
From: "Roch'e Compaan" <roche@ybm.co.za>
To: "Zope" <zope@zope.org>
Sent: Monday, March 12, 2001 12:22 AM
Subject: [Zope] ZCatalog


How does one do partial matching on a ZCatalog Field Index?

Roché


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )