I think you should publish it as fishbowl proposal on dev.zope.org and propose the implementation to go into Zope 2.7.
Andreas ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> 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 hand, AFAIK, the addition of a depth query feature to PathIndex > as it is wouldn't likely break existing indexes. And given that Andy's need > (get metadata for a Cataloged object, given some cached referecne, in this > case a path, to it) could be filled by the Catalog itself (or changes to > it), I'm not sure what other features would be needed out of PathIndex? > > In brief, what I would like: > results = Catalog.searchResults(path={'query':myContainersPath, > 'depth':0, 'level':0}) > Where depth means: > -1 In parent of path specified (up one) > 0 Contained within path specified > 1 Contained in path specified or directly in one of its > children > 2 Same as above, but also in child container's child > > No depth specified means behavior is like current functionality in path > indexes. A brief glance at docs and code gives me the impression that this > could peacefuly co-exist with level. > > Sean > > -----Original Message----- > From: 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: <[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 be feature-broken about PathIndexes, though, is > the > > lack of ability to specify a depth (not level, but depth of a match, for > > example, to specify items). Above and beyond support for a specific place > > within a hierarchy, there needs to be a simple mechanism to support query > > for an absolute path, and only objects directly matching that path, or > > directly contained within that path. > > > > Following this thread I appears to me that there is a need for several > new functionalities inside the PathIndex (maybe a new PathIndexNG). In > this case I suggest to write a proposal to collect all requirements. > I volunteer to help on the implementation. > > Andreas > > > _______________________________________________ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )