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

Dieter Maurer dieter@handshake.de
Mon, 19 Aug 2002 00:15:14 +0200


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 folders when you want all
 > objects under a higher level and its child levels.
 > 
 > Also, by not indexing the nodes themselves, the index is an order of
 > magnitude smaller and searches are therefore faster and it takes less room
 > and is faster to update.
This property need to be well documented.

  At least, it is not intuitive.


Dieter