[Zope] how to search entire site from a sub dir?

Jianping Zhu jzhu at fisher.forestry.uga.edu
Thu Sep 18 16:22:12 EDT 2003


On Thu, Sep 18, 2003 at 10:32:12AM +0200, Tino Wildenhain wrote:


> Jianping Zhu wrote:
> > I have a zope the dirctory structure is
> > Root ->sub1f1->sub2f1->sub3f3
> >      ->sub1f2
> >      ->development->sundev->mydev
> >
> >      I need to search entire site from mydev, i am trying to use
> >      Zcatalog to do it but after i created A zcatalog under mydev, i
> >      use find objects to put object to ZODB. but i can not find a way 
> >      to seach the entire site, is there a way to do that?
> >      Thanks
> You should of course create the ZCatalog in root and not in a distant
> leafe.
> Its possible, but then you have to catalog all objects yourself rather
> then letting ZCatalog do this for you. (ZCatalog uses ZopeFind()
> for descending all folders and objects when you hit catalog items)
> 
> Regards
> Tino
But for some reason i only have write access to mydev, what do you mean
by catalog all objects by myself?

Thanks
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at 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 )



More information about the Zope mailing list