Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-21 Thread Andreas Jung
gt; Sent: Wednesday, August 21, 2002 17:49 Subject: RE: [Zope-dev] PathIndex doesn't index last part of path > I'm all for putting together a proposal to do this, soliciting comments, and > contributing to the effort. What would be the right venue for that? > > On the other h

RE: [Zope-dev] PathIndex doesn't index last part of path

2002-08-21 Thread sean . upton
m: Andreas Jung [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 11:14 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Zope-dev] PathIndex doesn't index last part of path - Original Message - From: <[EMAIL PROTECTED]> To:

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-19 Thread Andreas Jung
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 00:58 Subject: RE: [Zope-dev] PathIndex doesn't index last part of path > > One thing that seems to

RE: [Zope-dev] PathIndex doesn't index last part of path

2002-08-19 Thread sean . upton
[Zope-dev] PathIndex doesn't index last part of path A PathIndex is designed to make it more efficient to aggregate objects at various levels of containment. Their primary use case AFAIK is to allow to to limit queries to particular places within a hierarchy. The idea is to eliminate recursive se

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-18 Thread Casey Duncan
;[EMAIL PROTECTED]> Cc: "Andy McKay" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, August 18, 2002 6:55 PM Subject: Re: [Zope-dev] PathIndex doesn't index last part of path Hi, Sorry, maybe I'm too late ;) but I have a note here. uid in Cataloc can be p

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-18 Thread Myroslav Opyr
- >From: "Andy McKay" <[EMAIL PROTECTED]> >To: "Casey Duncan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Sunday, August 18, 2002 2:54 AM >Subject: Re: [Zope-dev] PathIndex doesn't index last part of path > > > > >>&

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-18 Thread Dieter Maurer
Casey Duncan writes: > A PathIndex is designed to make it more efficient to aggregate objects at > various levels of containment. Their primary use case AFAIK is to allow to > to limit queries to particular places within a hierarchy. The idea is to > eliminate recursive searching of leaf level

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-18 Thread Andy McKay
nit tests (that pass > ;^). > > -Casey > > - Original Message - > From: "Andy McKay" <[EMAIL PROTECTED]> > To: "Casey Duncan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Sunday, August 18, 2002 2:54 AM > Subject: Re:

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-18 Thread Casey Duncan
y" <[EMAIL PROTECTED]> To: "Casey Duncan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, August 18, 2002 2:54 AM Subject: Re: [Zope-dev] PathIndex doesn't index last part of path > > If you call getObject, that actually does traversal anyway. > &g

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-17 Thread Andy McKay
> If you call getObject, that actually does traversal anyway. Right, in that situation it would be pointless... You rock, Casey, thanks. I was thinking more about adding: def getMetadataFromPath(self, path): """ get metadata for an object using its path """ rid = self._catalog.uids[path

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-17 Thread Casey Duncan
<[EMAIL PROTECTED]> Sent: Saturday, August 17, 2002 8:40 PM Subject: Re: [Zope-dev] PathIndex doesn't index last part of path > [snip] > Hmm ok, I can see those reasons. > > > Unfortunately, ZCatalog does not expose this to the surface but you > > can write a trivial e

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-17 Thread Andy McKay
[snip] Hmm ok, I can see those reasons. > Unfortunately, ZCatalog does not expose this to the surface but you > can write a trivial external method to do it. And I might entertain adding a > ZCatalog API to do so if I had a good use case. Ah... I think this might be the best idea, I'll add that

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-17 Thread Casey Duncan
A PathIndex is designed to make it more efficient to aggregate objects at various levels of containment. Their primary use case AFAIK is to allow to to limit queries to particular places within a hierarchy. The idea is to eliminate recursive searching of leaf level folders when you want all object

Re: [Zope-dev] PathIndex doesn't index last part of path

2002-08-17 Thread Casey Duncan
A PathIndex is designed to make it more efficient to aggregate objects at various levels of containment. Their primary use case AFAIK is to allow to to limit queries to particular places within a hierarchy. The idea is to eliminate recursive searching of leaf level folders when you want all object