[Zope] question about searching on subobjects

Tino Wildenhain tino@wildenhain.de
Mon, 07 May 2001 09:30:00 +0200


Hi Junk, (?)

try to get your fingers on ZCatalog. Its not so hard as it appears
at first and can do what you want here.

Regards
Tino Wildenhain

--On Montag, 7. Mai 2001 04:42 +0200 Junk <junk@gargl.net> wrote:

> hi,
>
> i have objects and subobjects (in classes) that i want to index.
>
> let's say i have this structure :
>
> folderA
> 	itemA
> 		sub
> 	itemB
> 		sub
> 	itemC
> 		sub
> 	itemD
> 		sub
>
> i want to get some propertie from "itemX" if some propertie of "sub"
> equals something.
>
> to make it more clear (propertis are enclosed in parenthesis)
>
> books
> 	bookname1 (description)
> 		review (author)
> 	bookname2 (description)
> 		review (author)
> 	bookname3 (description)
> 		review (author)
> 	bookname4 (description)
> 		review (author)
>
> i want to get the "description" of the book whose reviews's author is
> "author" ? hu... clear ?
>
> thanx,
>
> JUNK
>
>
> _______________________________________________
> 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 )