[Zope] zcatalog, brains & keywordIndex
Andreas Jung
lists at zopyx.com
Mon Feb 25 10:53:59 EST 2008
--On 25. Februar 2008 16:45:51 +0100 Stefano Guglia <sguglia at arrows.it>
wrote:
>
>>
>> That's not the primary supported usecase of ZCatalog. Perhaps
>>
>> <http://www.zope.org/Members/rbickers/cataloganything>
>>
>> will help you any further.
>>
>> -aj
>
> anyway, I do have persistent objects in my plone product, no matter on
> how I originated them.. the problem is that I have no idea on how to
> index the values from a python list as a keywordindex...
>
It works exactly as documented here:
<http://www.plope.com/Books/2_7Edition/SearchingZCatalog.stx>
If your index is XXXX then your data must be exposed as attribute XXXX
of the related object or returned from a method call to XXXX().
-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080225/c1bc8916/attachment.bin
More information about the Zope
mailing list