[Zope] ZCatalog Confusion Solved
James W. Howe
jwh@allencreek.com
Wed, 26 Jan 2000 14:28:44 -0500
Recently I posted a question about why my ZCatalog search wasn't behaving
the way I had expected. I was trying to find items with had a particular
meta-type and particular values for a couple of ZClass properties. It
turns out that I had defined the properties in the Meta Data Table but I
didn't define them as field indexes in the Indexes area. I assume that
since I hadn't specified my properties as indexes, when the catalog search
was performed it simply ignored those values and only used the meta_type
specification and this is why all items were returned rather than the one I
expected. When I added the field indexes the search behaved as expected.
A careful re-reading of the ZCatalog tutorial helped me solve this one.
James W. Howe mailto:jwh@allencreek.com
Allen Creek Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html
Ann Arbor, MI 48103