[Zope-CMF] Re: How to limit portal_catalog search?

danielle.d-avout danielle.d-avout@wanadoo.fr
Thu, 13 Mar 2003 15:53:55 +0100


in portal_catalog/manage_workspace you justAdd PathIndex


A PathIndex indexes the physical path of all objects inside a catalog. It
allows you to search for objects beginning or containing a special path
component or a set of path component. A path component is defined as
/<component1>/<component2>/..../<object_id> . Note: the object_id will not
be indexed by the PathIndex

I hope you will not obtain a traceback

Traceback (innermost last):

  a.. Module ZPublisher.Publish, line 98, in publish
  b.. Module ZPublisher.mapply, line 88, in mapply
  c.. Module ZPublisher.Publish, line 39, in call_object
  d.. Module Products.ZCatalog.ZCatalog, line 472, in manage_reindexIndex
  e.. Module Products.ZCatalog.ZCatalog, line 454, in reindexIndex
SystemError: error return without exception set

"Andreas Jung" <andreas@andreas-jung.com> a écrit dans le message de news:
489006414.1047457477@[192.168.0.3]...

You should consider using a PathIndex.

-aj

--On Mittwoch, 12. März 2003 14:51 +0800 John Paul
<rmpconsult2@mydestiny.net> wrote:

> Hi all,
>
>   Is it possible to limit portal_catalog search? And how will i achive
> this? I want to limit the search for every folder i have in my CMF Site.
> Thanks....
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests




--
    ---------------------------------------------------------------------
   -    Andreas Jung                     http://www.andreas-jung.com   -
  -   EMail: andreas at andreas-jung.com                              -
   -            "Life is too short to (re)write parsers"               -
    ---------------------------------------------------------------------




_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests