[Zope] ZCatalog Searching on Path

Andreas Jung Andreas Jung" <andreas@digicool.com
Fri, 6 Jul 2001 14:50:44 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_018E_01C1062B.08A2EC60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Zope 2.4 comes with a new PathIndex the allows you to search for objects =
based on their=20
physical path.=20

Andreas
  ----- Original Message -----=20
  From: Brian Brinegar=20
  To: zope@zope.org=20
  Sent: Friday, July 06, 2001 1:55 PM
  Subject: [Zope] ZCatalog Searching on Path


  I would like to be able to search a ZCatalog based on the path to the =
cataloged object. Basically I would like to say "Show me all of the =
cataloged objects that fall within this folder" and have it return a =
list. Since the ZCatalog uses the physical path to identify objects I =
know the data is stored, but has anyone found a way to search on that =
data?

  --Brian


------=_NextPart_000_018E_01C1062B.08A2EC60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2479.6" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Zope 2.4 comes with a new PathIndex the =
allows you=20
to search for objects based on their </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>physical path. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Andreas</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dbrianb@purdue.edu href=3D"mailto:brianb@purdue.edu">Brian =
Brinegar</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dzope@zope.org=20
  href=3D"mailto:zope@zope.org">zope@zope.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, July 06, 2001 =
1:55 PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Zope] ZCatalog =
Searching on=20
  Path</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>I would like to be able to search a =
ZCatalog=20
  based on the path to the cataloged object. Basically I would like to =
say "Show=20
  me all of the cataloged objects that fall within this folder" and have =
it=20
  return a list. Since the ZCatalog uses the physical path to identify =
objects I=20
  know the data is stored, but has anyone found a way to search on that=20
  data?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>--Brian</FONT></DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_018E_01C1062B.08A2EC60--